Skip to content
  • doyougnu's avatar
    Cmm: DynFlags to CmmConfig refactor · 1a596d06
    doyougnu authored and Marge Bot's avatar Marge Bot committed
    add files GHC.Cmm.Config, GHC.Driver.Config.Cmm
    
    Cmm: DynFlag references --> CmmConfig
    
    Cmm.Pipeline: reorder imports, add handshake
    
    Cmm: DynFlag references --> CmmConfig
    
    Cmm.Pipeline: DynFlag references --> CmmConfig
    
    Cmm.LayoutStack: DynFlag references -> CmmConfig
    
    Cmm.Info.Build: DynFlag references -> CmmConfig
    
    Cmm.Config: use profile to retrieve platform
    
    Cmm.CLabel: unpack NCGConfig in labelDynamic
    
    Cmm.Config: reduce CmmConfig surface area
    
    Cmm.Config: add cmmDoCmmSwitchPlans field
    
    Cmm.Config: correct cmmDoCmmSwitchPlans flag
    
    The original implementation dispatches work in cmmImplementSwitchPlans
    in an `otherwise` branch, hence we must add a not to correctly dispatch
    
    Cmm.Config: add cmmSplitProcPoints simplify Config
    
    remove cmmBackend, and cmmPosInd
    
    Cmm.CmmToAsm: move ncgLabelDynamic to CmmToAsm
    
    Cmm.CLabel: remove cmmLabelDynamic function
    
    Cmm.Config: rename cmmOptDoLinting -> cmmDoLinting
    
    testsuite: update CountDepsAst CountDepsParser
    1a596d06