[GHC] #8855: LLVM backend needs to use `-globalopt` explicitly

GHC ghc-devs at haskell.org
Thu Mar 13 22:57:44 UTC 2014


#8855: LLVM backend needs to use `-globalopt` explicitly
-------------------------------------+------------------------------------
        Reporter:  bgamari           |            Owner:
            Type:  bug               |           Status:  patch
        Priority:  normal            |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.8.1-rc2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"b84b5da4430aacd5bf8422b06a861cd0584f99cf/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b84b5da4430aacd5bf8422b06a861cd0584f99cf"
 DriverPipeline: Ensure -globalopt is passed to LLVM opt

 While -O1 and -O2 both include -globalopt, the order in which the passes
 are
 run means that aliases aren't resolved which then causes llc to fall over.
 See GHC bug #8855.

 Signed-off-by: Austin Seipp <austin at well-typed.com>
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8855#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list