[GHC] #7571: LLVM codegen does not handle integer literals in branch conditionals.
GHC
cvs-ghc at haskell.org
Fri Jan 18 04:25:01 CET 2013
#7571: LLVM codegen does not handle integer literals in branch conditionals.
---------------------------------+------------------------------------------
Reporter: thoughtpolice | Owner: thoughtpolice
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler (LLVM) | Version: 7.7
Keywords: llvm, codegen | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Compile-time crash
Difficulty: Unknown | Testcase:
Blockedby: 7573, 7590 | Blocking: 7588, 7589
Related: #7574, #7575 |
---------------------------------+------------------------------------------
Comment(by dterei):
Austin, can you explain your setup please? All these bugs you are filing
and fixing are ones I fixed in some form 2 years ago. The existing llvm
backend contains code to do exactly what the bug description describes,
narrow arbritry expressions to a boolean when used as a conditional.
I can also currently bootstrap GHC with LLVM fine on both OSX 10.8 and
Linux. (Both 64 bit).
Are you cross compiling? Or compiling on a 64bit OSX machine but producing
a 32bit GHC? I think the backend may have bugs to do with this as it makes
assumptions about word sizes... and so detection of various cases that
need to be avoided aren't firing.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7571#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list