[GHC] #4213: LLVM: Add support for TNTC to LLVM compiler suite

GHC ghc-devs at haskell.org
Sat May 24 19:06:24 UTC 2014


#4213: LLVM: Add support for TNTC to LLVM compiler suite
-------------------------------------+------------------------------------
        Reporter:  dterei            |            Owner:  dterei
            Type:  feature request   |           Status:  new
        Priority:  low               |        Milestone:  7.6.2
       Component:  Compiler (LLVM)   |          Version:  6.13
      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 dterei):

 So I haven't looked at the proposed offsetting feature for LLVM. If that
 feature indeed means we can support TNTC without any changes to our
 current design (i.e., no changes to NCG or RTS) then awesome! We should
 defiantly make that change.

 I agree that minimizing how much we use the mangler is a good thing. If we
 can remove it then we should be able to avoid any intermediate files at
 all other than the .ll file. It's silly right now that we run `opt` and
 produce an intermediate .bc file, and then run `llc`. We should be able to
 just use a driver to go from .ll to an object file. At that point I'd be
 very surprised if changing to the LLVM API had any advantage.

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


More information about the ghc-tickets mailing list