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

GHC ghc-devs at haskell.org
Fri Sep 15 01:25:31 UTC 2017


#11649: LLVM code generator produces mal-formed LLVM blocks
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  erikd
            Type:  bug               |               Status:  closed
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.0.1-rc2
  (CodeGen)                          |
      Resolution:  fixed             |             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):  Phab:D1996
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by angerman):

 That's a fantastic idea!

 I guess we could even name the initial block `entry`, and just allocate
 all the registers on the stack and just fall through into the first block.
 I'll give this a try with the `llvmng`. If this works, I might backport it
 to the `llvm` backend. It would also relinquish the need for the unique
 supply in the `LlvmM` I believe.

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


More information about the ghc-tickets mailing list