[GHC] #11649: LLVM code generator produces mal-formed LLVM blocks

GHC ghc-devs at haskell.org
Sun Mar 6 20:26:52 UTC 2016


#11649: LLVM code generator produces mal-formed LLVM blocks
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.0.1-rc2
  (CodeGen)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9043             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 From IRC:

 <bgamari> erikd, I think the best bet is to just examine the Cmm, look for
 procs whose entry blocks are self-referential and rewrite them, inserting
 an auxiliary block

 <bgamari> it's a bit of a hack, but I suspect it is a fix

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


More information about the ghc-tickets mailing list