Changes between Version 1 and Version 2 of Commentary/Compiler/Hoopl/Examples


Ignore:
Timestamp:
Feb 1, 2014 5:46:44 PM (15 months ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/Hoopl/Examples

    v1 v2  
    3131         nothing _ _ = return Nothing 
    3232}}} 
     33 
     34== !CmmRewriteAssignments optimization pass == 
     35 
     36The `CmmRewriteAssignments` pass was originally written by Edward Z. Yang to perform Cmm optimizations like inlining and sinking. However, it turned out to be too slow and was replaced with `CmmSink` pass written by Simon Marlow. `CmmSink` does almost the same things as `CmmRewriteAssignments`, the most notable difference being that the former does not handle loops. Code of `CmmRewriteAssignments` is available in [attachment:CmmRewriteAssignments.hs this attachment].