[GHC] #10286: native code generator: GHC crash at GHC.Prim SIMD vector

GHC ghc-devs at haskell.org
Fri Apr 10 18:57:44 UTC 2015


#10286: native code generator: GHC crash at GHC.Prim SIMD vector
-------------------------------------+-------------------------------------
        Reporter:  hkanai            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by hkanai):

 LLVM code generator has problem too.

 {{{
 $ ghc -Wall -fllvm -mavx -mavx2 Vec3.hs
 [1 of 1] Compiling Data.Vector.Vec3 ( Vec3.hs, Vec3.o )
 You are using a new version of LLVM that hasn't been tested yet!
 We will try though...
 opt: /tmp/ghc2501_0/ghc2501_2.ll:7:6: error: unexpected type in metadata
 definition
 !0 = metadata !{metadata !"top", i8* null}
 }}}

 My environment is same, and here is the LLVM environment.
 {{{
 $ llvm-as --version
 LLVM (http://llvm.org/):
   LLVM version 3.6.0
   Optimized build.
   Built Apr  2 2015 (15:02:32).
   Default target: x86_64-unknown-linux-gnu
   Host CPU: penryn
 }}}

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


More information about the ghc-tickets mailing list