X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FZipDataflow.hs;h=883de762f02a6b7d458903cdd9ad630d6fb4f382;hb=1ba30eaede4836dff7742c574d2a6433c7b0f92c;hp=88117550d3424da88752f7c40f04e9987d1160d2;hpb=c62b824e9e8808eb3845ddb1614494b0575eaafd;p=ghc-hetmet.git diff --git a/compiler/cmm/ZipDataflow.hs b/compiler/cmm/ZipDataflow.hs index 8811755..883de76 100644 --- a/compiler/cmm/ZipDataflow.hs +++ b/compiler/cmm/ZipDataflow.hs @@ -485,7 +485,6 @@ fwd_pure_anal name env transfers in_fact g = type Fuel = OptimizationFuel -{-# INLINE forward_sol #-} forward_sol :: forall m l a . (DebugNodes m l, LastNode l, Outputable a) @@ -601,8 +600,6 @@ mk_set_or_save is_local (LastOutFacts l) = mapM_ set_or_save_one l - -{-# INLINE forward_rew #-} forward_rew :: forall m l a . (DebugNodes m l, LastNode l, Outputable a) @@ -748,7 +745,6 @@ rewrite_b_agraph depth start_facts name lattice transfers rewrites exit_fact g = -{-# INLINE backward_sol #-} backward_sol :: forall m l a . (DebugNodes m l, LastNode l, Outputable a) @@ -867,7 +863,6 @@ bwd_pure_anal name env transfers g exit_fact = {- ================================================================ -} -{-# INLINE backward_rew #-} backward_rew :: forall m l a . (DebugNodes m l, LastNode l, Outputable a) @@ -900,7 +895,7 @@ backward_rew check_maybe = back rewrite start g exit_fact fuel = let Graph entry blockenv = g blocks = reverse $ G.postorder_dfs_from blockenv entry - in do { (FP env in_fact _ _ _, _) <- -- don't drop the entry fact! + in do { (FP _ in_fact _ _ _, _) <- -- don't drop the entry fact! solve depth name start transfers rewrites g exit_fact fuel --; env <- getAllFacts -- ; my_trace "facts after solving" (ppr env) $ return () @@ -1070,11 +1065,11 @@ subAnalysis' :: (Monad (m f), DataflowAnalysis m, Outputable f) => m f a -> m f a subAnalysis' m = do { a <- subAnalysis $ - do { a <- m; facts <- getAllFacts + do { a <- m; -- facts <- getAllFacts ; -- my_trace "after sub-analysis facts are" (pprFacts facts) $ return a } - ; facts <- getAllFacts + -- ; facts <- getAllFacts ; -- my_trace "in parent analysis facts are" (pprFacts facts) $ return a } - where pprFacts env = nest 2 $ vcat $ map pprFact $ blockEnvToList env - pprFact (id, a) = hang (ppr id <> colon) 4 (ppr a) + -- where pprFacts env = nest 2 $ vcat $ map pprFact $ blockEnvToList env + -- pprFact (id, a) = hang (ppr id <> colon) 4 (ppr a)