[GHC] #9125: int-to-float conversion broken on ARM

GHC ghc-devs at haskell.org
Tue Jul 29 17:36:38 UTC 2014


#9125: int-to-float conversion broken on ARM
-------------------------------------+-------------------------------------
              Reporter:  Ansible     |            Owner:
                  Type:  bug         |           Status:  infoneeded
              Priority:  highest     |        Milestone:  7.8.4
             Component:  Compiler    |          Version:  7.8.3
  (CodeGen)                          |         Keywords:
            Resolution:              |     Architecture:  arm
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Incorrect   |  Related Tickets:
  result at runtime                  |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Replying to [comment:17 rwbarton]:
 > Let's figure out whether this is a bug in GHC or LLVM before we change
 any variables like the version of LLVM. I think LLVM 3.5 won't work with
 GHC 7.8 anyways. (Ben?)
 >
 Indeed LLVM 3.5 disagrees with the aliases that the LLVM backend produces
 (in all GHC versions as far as I know). This is being tracked in #9142
 where you'll find a patch that I threw together to rework the LLVM code
 generator to comply with LLVM's new restrictions on alias usage. The patch
 works with LLVM 3.4 and should work for 3.5 although I'm still waiting for
 the build to finish to verify this.

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


More information about the ghc-tickets mailing list