[LLVMbugs] [Bug 1108] NEW: CodeGen/Generic/vector-identity-shuffle.ll regression fails on x86_64-pc-linux-gnu

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 12 10:41:12 PST 2007


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

           Summary: CodeGen/Generic/vector-identity-shuffle.ll regression
                    fails on x86_64-pc-linux-gnu
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: chandlerc at gmail.com


On x86_64-pc-linux-gnu the following regression test is failing:

FAIL:
/home/chandlerc/code/compilers/llvm/test/Regression/CodeGen/Generic/vector-identity-shuffle.ll:

child process exited abnormally
test:
llc:
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1143:
llvm::SDOperand llvm::SelectionDAG::getNode(unsigned int, llvm::MVT::ValueType,
llvm::SDOperand): Assertion `MVT::isVector(VT) &&
!MVT::isVector(Operand.getValueType()) && MVT::getVectorBaseType(VT) ==
Operand.getValueType() && "Illegal SCALAR_TO_VECTOR node!"' failed.


When run by hand in GDB, I get the following backtrace:

gdb> set args vector-identity-shuffle.bc
gdb> run
[Thread debugging using libthread_db enabled]
[New Thread 47416736631584 (LWP 7527)]
llc:
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1143:
llvm::SDOperand llvm::SelectionDAG::getNode(unsigned int, llvm::MVT::ValueType,
llvm::SDOperand): Assertion `MVT::isVector(VT) &&
!MVT::isVector(Operand.getValueType()) && MVT::getVectorBaseType(VT) ==
Operand.getValueType() && "Illegal SCALAR_TO_VECTOR node!"' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 47416736631584 (LWP 7527)]
_______________________________________________________________________________
Error while running hook_stop:
Value can't be converted to integer.
0x00002b20119d97b5 in raise () from /lib/libc.so.6
gdb> bt
#0  0x00002b20119d97b5 in raise () from /lib/libc.so.6
#1  0x00002b20119daa4e in abort () from /lib/libc.so.6
#2  0x00002b20119d3156 in __assert_fail () from /lib/libc.so.6
#3  0x0000000000a195e1 in llvm::SelectionDAG::getNode (this=0x7fff999a3f90,
Opcode=0x47, VT=llvm::MVT::v4i32, Operand={Val = 0x104cda0, ResNo = 0x0}) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1141
#4  0x00000000008ce63e in llvm::X86TargetLowering::LowerBUILD_VECTOR
(this=0x1046400, Op={Val = 0x104e380, ResNo = 0x0}, DAG=@0x7fff999a3f90) at
/home/chandlerc/code/compilers/llvm/lib/Target/X86/X86ISelLowering.cpp:3407
#5  0x00000000008e2916 in llvm::X86TargetLowering::LowerOperation
(this=0x1046400, Op={Val = 0x104e380, ResNo = 0x0}, DAG=@0x7fff999a3f90) at
/home/chandlerc/code/compilers/llvm/lib/Target/X86/X86ISelLowering.cpp:5020
#6  0x0000000000a6aca7 in (anonymous
namespace)::SelectionDAGLegalize::LegalizeOp (this=0x7fff999a3c80, Op={Val =
0x104e380, ResNo = 0x0}) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:901
#7  0x0000000000a83890 in (anonymous
namespace)::SelectionDAGLegalize::PackVectorOp (this=0x7fff999a3c80, Op={Val =
0x104dee0, ResNo = 0x0}, NewVT=llvm::MVT::v4i32) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:5523
#8  0x0000000000a971e4 in (anonymous namespace)::SelectionDAGLegalize::HandleOp
(this=0x7fff999a3c80, Op={Val = 0x104dee0, ResNo = 0x0}) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:476
#9  0x0000000000a97708 in (anonymous
namespace)::SelectionDAGLegalize::LegalizeDAG (this=0x7fff999a3c80) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:340
#10 0x0000000000a9788d in llvm::SelectionDAG::Legalize (this=0x7fff999a3f90) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:5537
#11 0x0000000000a28a87 in llvm::SelectionDAGISel::CodeGenAndEmitDAG
(this=0x1046350, DAG=@0x7fff999a3f90) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:4110
#12 0x0000000000a3c8ee in llvm::SelectionDAGISel::SelectBasicBlock
(this=0x1046350, LLVMBB=0x1040880, MF=@0x104c250, FuncInfo=@0x7fff999a4210) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:4140
#13 0x0000000000a3d699 in llvm::SelectionDAGISel::runOnFunction (this=0x1046350,
Fn=@0x103c230) at
/home/chandlerc/code/compilers/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:3842
#14 0x00000000008f320b in (anonymous namespace)::X86DAGToDAGISel::runOnFunction
(this=0x1046350, Fn=@0x103c230) at
/home/chandlerc/code/compilers/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:121
#15 0x0000000000c2d106 in llvm::FPPassManager::runOnFunction (this=0x1045420,
F=@0x103c230) at /home/chandlerc/code/compilers/llvm/lib/VMCore/PassManager.cpp:1252
#16 0x0000000000c2d338 in llvm::FunctionPassManagerImpl::run (this=0x1044c60,
F=@0x103c230) at /home/chandlerc/code/compilers/llvm/lib/VMCore/PassManager.cpp:1218
#17 0x0000000000c2d3fb in llvm::FunctionPassManager::run (this=0x7fff999a45d0,
F=@0x103c230) at /home/chandlerc/code/compilers/llvm/lib/VMCore/PassManager.cpp:1163
#18 0x00000000007d13dc in main (argc=0x2, argv=0x7fff999a47b8) at
/home/chandlerc/code/compilers/llvm/tools/llc/llc.cpp:264


Is there any other information I can get that would help? Currently its the only
(non-debuginfo) test failing.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list