[llvm-bugs] [Bug 34653] New: [X86][AVX512] simple test crashes on assertion when targeting AVX512 with -O0

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 18 05:56:11 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34653

            Bug ID: 34653
           Summary: [X86][AVX512] simple test crashes on assertion when
                    targeting AVX512 with -O0
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: ayman.musa at intel.com
                CC: llvm-bugs at lists.llvm.org

the following IR:

declare fastcc <38 x double> @test() 

define void @main() {
entry:
  %v = call fastcc <38 x double> @test()
  %v.0 = extractelement <38 x double> %v, i32 0
  ret void
}

> llc test.ll -O0 -mattr=+avx512f

================================================================================

llc: <PATH>/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:3439: llvm::SDValue
FoldCONCAT_VECTORS(const llvm::SDLoc&, llvm::EVT,
llvm::ArrayRef<llvm::SDValue>, llvm::SelectionDAG&): Assertion
`llvm::all_of(Ops, [Ops](SDValue Op) { return Ops[0].getValueType() ==
Op.getValueType(); }) && "Concatenation of vectors with inconsistent value
types!"' failed.
LLVMSymbolizer: error reading file: No such file or directory
#0 0x0000000003335193 (llc+0x3335193)
#1 0x0000000003335224 (llc+0x3335224)
#2 0x0000000003333710 (llc+0x3333710)
#3 0x0000000003334b2b (llc+0x3334b2b)
#4 0x00007f4d57d4f5e0 __restore_rt (/lib64/libpthread.so.0+0xf5e0)
#5 0x00007f4d5694c1f7 __GI_raise (/lib64/libc.so.6+0x351f7)
#6 0x00007f4d5694d8e8 __GI_abort (/lib64/libc.so.6+0x368e8)
#7 0x00007f4d56945266 __assert_fail_base (/lib64/libc.so.6+0x2e266)
#8 0x00007f4d56945312 (/lib64/libc.so.6+0x2e312)
#9 0x00000000031773fc (llc+0x31773fc)
#10 0x000000000317cf24 (llc+0x317cf24)
#11 0x0000000003189ada (llc+0x3189ada)
#12 0x00000000032329e7 (llc+0x32329e7)
#13 0x000000000322a5d7 (llc+0x322a5d7)
#14 0x0000000003224395 (llc+0x3224395)
#15 0x0000000003201378 (llc+0x3201378)
#16 0x00000000032066c5 (llc+0x32066c5)
#17 0x00000000031b0ac7 (llc+0x31b0ac7)
#18 0x00000000031b011e (llc+0x31b011e)
#19 0x00000000031b516a (llc+0x31b516a)
#20 0x00000000031aeddf (llc+0x31aeddf)
#21 0x00000000021071ec (llc+0x21071ec)
#22 0x0000000002823b41 (llc+0x2823b41)
#23 0x0000000002c2a2ec (llc+0x2c2a2ec)
#24 0x0000000002c2a47f (llc+0x2c2a47f)
#25 0x0000000002c2a80b (llc+0x2c2a80b)
#26 0x0000000002c2aefc (llc+0x2c2aefc)
#27 0x0000000002c2b13d (llc+0x2c2b13d)
#28 0x0000000001309a6a (llc+0x1309a6a)
#29 0x00000000013082d5 (llc+0x13082d5)
#30 0x00007f4d56938c05 __libc_start_main (/lib64/libc.so.6+0x21c05)
#31 0x0000000001306249 (llc+0x1306249)
Stack dump:
0.      Program arguments: llc test.ll -O0 -mattr=+avx512f 
1.      Running pass 'Function Pass Manager' on module 'test.ll'.
2.      Running pass 'X86 DAG->DAG Instruction Selection' on function '@main'
Aborted (core dumped)

-- 
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/20170918/bd188699/attachment.html>


More information about the llvm-bugs mailing list