Zubin pushed to branch wip/9.12.3-backports at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/CoreToStg/Prep.hs
    ... ... @@ -2218,6 +2218,8 @@ mkNonRecFloat env is_unlifted bndr rhs
    2218 2218
         is_hnf      = exprIsHNF rhs
    
    2219 2219
         dmd         = idDemandInfo bndr
    
    2220 2220
         is_strict   = isStrUsedDmd dmd
    
    2221
    +    cfg         = cpe_config env
    
    2222
    +
    
    2221 2223
         ok_for_spec = exprOkForSpecEval call_ok_for_spec rhs
    
    2222 2224
         -- See Note [Controlling Speculative Evaluation]
    
    2223 2225
         call_ok_for_spec x