#14226: Common Block Elimination pass doesn't eliminate common blocks -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: patch 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: #9157 | Differential Rev(s): Phab:D3973, Wiki Page: | Phab:D3999 -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"9aa73892e10e90a1799b9277da593e816a827364/ghc" 9aa73892/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="9aa73892e10e90a1799b9277da593e816a827364" cmm/CBE: Use foldLocalRegsDefd Simonpj suggested this as a follow-on to #14226 to avoid code duplication. This also gives us the ability to CBE cases involving foreign calls for free. Test Plan: Validate Reviewers: austin, simonmar, simonpj Reviewed By: simonpj Subscribers: michalt, simonpj, rwbarton, thomie GHC Trac Issues: #14226 Differential Revision: https://phabricator.haskell.org/D3999 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14226#comment:13> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler