[LLVMbugs] [Bug 17670] New: Crash when using SLP vectorizer while cross-compiling for BlueGene/Q (powerpc64-bgq-linux)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 23 22:36:24 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17670

            Bug ID: 17670
           Summary: Crash when using SLP vectorizer while cross-compiling
                    for BlueGene/Q (powerpc64-bgq-linux)
           Product: clang
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: michael.schlottke at sloede.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The SLP vectorizer seems to crash during a cross compilation for BlueGene/Q. If
I set -fno-slp-vectorize, the compilation finishes withour errors. Other
optimization flags I used are "-O3 -DNDEBUG -g -mtune=native -fvectorize". This
happens with clang from trunk (r190771)

This is the error message:

fatal error: error in backend: Cannot select: 0x1004a29e9b0: v4f32 = uint_to_fp
0x1004b98ca10 [ORD=124469] [ID=81] dbg:zfsfvpartcont.cpp:7761
  0x1004b98ca10: v4i1 = setcc 0x1004b98bc00, 0x1004c256fe0, 0x1004b9f2c00
[ORD=124468] [ID=79] dbg:zfsfvpartcont.cpp:7760
    0x1004b98bc00: v4f64 = llvm.ppc.qpx.qvfcfidu 0x1004a2d3c20, 0x1004c2659d0
[ORD=124468] [ID=77] dbg:zfsfvpartcont.cpp:7760
      0x1004a2d3c20: i32 = Constant<2256> [ID=34]
      0x1004c2659d0: v4f64,ch = llvm.ppc.qpx.qvlfiwz 0x1004b98aef0,
0x1004b98c300, 0x1004b98c000 [ORD=124468] [ID=74] dbg:zfsfvpartcont.cpp:7760
        0x1004b98c300: i32 = Constant<2316> [ID=33]
        0x1004b98c000: i64 = FrameIndex<5> [ID=31]
    0x1004c256fe0: v4f64,ch = load 0x1004735d030, 0x1004c265ad0,
0x1004b98cd10<LD32[ConstantPool]> [ORD=124468] [ID=58]
dbg:zfsfvpartcont.cpp:7760
      0x1004c265ad0: i64 = PPCISD::TOC_ENTRY 0x1004bb007c0, 0x1004b9f2a00
[ID=51]
        0x1004bb007c0: i64 = TargetConstantPool<<4 x double> zeroinitializer> 0
[ID=38]
        0x1004b9f2a00: i64 = Register %X2 [ID=36]
      0x1004b98cd10: i64 = undef [ID=6]
In function:
_ZN13ZFSFvPartCont18wallCollisionCheckERNSt3__14listINS_10collStructENS0_9allocatorIS2_EEEENS0_15__list_iteratorI13ZFSFvParticlePvEE
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.4 (trunk)
Target: powerpc64-bgq-linux
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131024/37ddd422/attachment.html>


More information about the llvm-bugs mailing list