optllvm failures

Carter Schonwald carter.schonwald at gmail.com
Thu Apr 24 18:49:18 UTC 2014


What OS? Is this on a vm? I7-avx is the instruction family.  I5 will be ok.
 Certain vms break handling avx register saves.

On Thursday, April 24, 2014, Daniel Fischer <
daniel.is.fischer at googlemail.com> wrote:

> I have done a bit of testing with regards to my optllvm failures in the
> testsuite.
>
> Some tests compile but segfault when they are run, others fail to compile,
> both with HEAD and 7.8.2, but those I tested all work with 7.6.3, although
> 7.6
> gives the warning:
>
> You are using a new version of LLVM that hasn't been tested yet!
> We will try though...
>
> I suspect that the LLVM backend thinks I have a different version than I
> actually have, or maybe the LLVM tools think I have a different CPU than I
> have:
>
> dafis at schwartz:~/JNthPrime> llc --version
> LLVM (http://llvm.org/):
>   LLVM version 3.2svn
>   Optimized build.
>   Default target: x86_64-unknown-linux-gnu
>   Host CPU: corei7-avx
>
>   Registered Targets:
>     arm    - ARM
>     ppc32  - PowerPC 32
>     ppc64  - PowerPC 64
>     thumb  - Thumb
>     x86    - 32-bit X86: Pentium-Pro and above
>     x86-64 - 64-bit X86: EM64T and AMD64
> dafis at schwartz:~/JNthPrime> opt --version
> LLVM (http://llvm.org/):
>   LLVM version 3.2svn
>   Optimized build.
>   Default target: x86_64-unknown-linux-gnu
>   Host CPU: corei7-avx
>
> But my CPU is a Core i5, not i7.
>
> Can somebody confirm or deny that that may be the cause?
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org <javascript:;>
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140424/d15ff6b6/attachment-0001.html>


More information about the ghc-devs mailing list