Changes between Version 17 and Version 18 of Commentary/Compiler/NewCodeGenPipeline


Ignore:
Timestamp:
Oct 17, 2008 5:50:27 PM (6 years ago)
Author:
dias
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/NewCodeGenPipeline

    v17 v18  
    2121  1. Convert STG to Cmm, with implicit stack implicit, and native Cmm calls. 
    2222  2. Optimise the Cmm, and CPS-convert it to have an explicit stack, and no native calls. 
     23     This part of the pipeline is stitched together in `cmm/CmmCPSZ.hs`. 
    2324  3. Feed the CPS-converted Cmm to the existing, unmodified native code generators. 
    2425 
     
    3031   * No `CopyIn`, `CopyOut` nodes any more; instead "smart constructors" lower the calling convention to loads/stores/register transfers, using stack area abstraction. 
    3132   * But we still have `LastCall`, `LastReturn`, `LastBranch`, `LastJump` as `Last` nodes. 
    32    * TODO: Use the proper calling conventions (post Rep Swamp). 
    3333 
    3434 * '''Simple control flow optimisation''', implemented in `CmmContFlowOpt`: