summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmSink.hs
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix two bugs in the sinker.Simon Marlow2012-08-061-11/+69
| | | | | The new code generator now apparently generates a working stage2 compiler.
* Foreign calls may clobber caller-saves registersSimon Marlow2012-08-061-4/+21
| | | | See Note [foreign calls clobber GlobalRegs]
* comments and refactoringSimon Marlow2012-08-021-31/+50
|
* fix a bug in the inlinerSimon Marlow2012-08-021-9/+13
|
* Eliminate "r = r" assignments.Simon Marlow2012-08-021-0/+5
| | | | | Previously these were caught by removeDeadAssignments, but we aren't doing that now.
* Improve accuracy of memory conflict trackingSimon Marlow2012-08-021-49/+83
| | | | | | We now track stack regions, so that we can float a stack load past a stack store if they don't conflict. Also, we now use the CmmType to more accurately identify heap addresses.
* Inline into the last nodeSimon Marlow2012-08-021-60/+132
| | | | Also lots of refactoring and tidyup
* fix haddock parse errorSimon Marlow2012-07-301-1/+1
|
* fix warningsSimon Marlow2012-07-301-0/+2
|
* bug fixes for the sinkerSimon Marlow2012-07-301-37/+76
|
* Merge sinking and inlining to get better results.Simon Marlow2012-07-301-79/+69
|
* fix warningsSimon Marlow2012-07-171-1/+2
|
* Move sinking into a separate module, and add a simple inlining passSimon Marlow2012-07-171-0/+255