
#14226: Common Block Elimination pass doesn't eliminate common blocks -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 (CodeGen) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Oh, actually, never mind. On further reflection I suppose CBE actually must look at local registers since they may be live across blocks. Indeed nomeata's patch was merely a change in the hash, which is an optimization, not a change in the behavior of the pass. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14226#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler