[GHC] #9142: LLVM HEAD rejects aliases used by LLVM codegen

GHC ghc-devs at haskell.org
Sun Jul 20 22:43:21 UTC 2014


#9142: LLVM HEAD rejects aliases  used by LLVM codegen
-------------------------------------+-------------------------------------
              Reporter:  bgamari     |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  high        |         Milestone:  7.10.1
             Component:  Compiler    |           Version:  7.8.2
            Resolution:              |          Keywords:
Differential Revisions:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |         Test Case:
            Difficulty:  Unknown     |          Blocking:  4213
            Blocked By:              |
       Related Tickets:              |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 First the good news: I have figured out what LLVM code we need to generate
 to satisfy LLVM's type system. An annotated example can be found here
 https://github.com/bgamari/ghc-llvm/blob/master/test.ll .

 Unfortunately, this seems to be a bit of a departure from our current
 approach. Quite a bit of code needs to be touched and I haven't yet been
 able to find a clean way to factor out the details of the alias
 generation.

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


More information about the ghc-tickets mailing list