[LLVMbugs] [Bug 10492] New: [AVX] Assertion failed: ((VT == MVT::v4i32 || VT == MVT::v4f32) && "unsupported shuffle type"),

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 26 02:21:20 PDT 2011


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

           Summary: [AVX] Assertion failed: ((VT == MVT::v4i32 || VT ==
                    MVT::v4f32) && "unsupported shuffle type"),
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6940)
 --> (http://llvm.org/bugs/attachment.cgi?id=6940)
test case

With the attached, if I run:

% llc bug.ll -o /dev/null -mcpu=corei7-avx -mattr=+avx

I get the following:


Assertion failed: ((VT == MVT::v4i32 || VT == MVT::v4f32) && "unsupported
shuffle type"), function getMOVHighToLow, file X86ISelLowering.cpp, line 5665.
0  llc               0x0000000101757343 _ZL15PrintStackTracePv + 51
1  llc               0x000000010175789d _ZL13SignalHandleri + 333
2  libsystem_c.dylib 0x00007fff8a2a9cfa _sigtramp + 26
3  libsystem_c.dylib 0x00007fff60434978 _sigtramp + 18446744073006525592
4  llc               0x000000010175720f raise + 31
5  llc               0x0000000101757240 abort + 16
6  llc               0x000000010175730d __assert_rtn + 189
7  llc               0x0000000100dae616
_ZL15getMOVHighToLowRN4llvm7SDValueERNS_8DebugLocERNS_12SelectionDAGE + 310
8  llc               0x0000000100deb3ec
llvm::X86TargetLowering::LowerVECTOR_SHUFFLE(llvm::SDValue,
llvm::SelectionDAG&) const + 1578
9  llc               0x0000000100d9bcc2
llvm::X86TargetLowering::LowerOperation(llvm::SDValue, llvm::SelectionDAG&)
const + 574
10 llc               0x0000000100ef3129 (anonymous
namespace)::SelectionDAGLegalize::LegalizeOp(llvm::SDValue) + 4841
11 llc               0x0000000100f09371 (anonymous
namespace)::SelectionDAGLegalize::LegalizeDAG() + 225
12 llc               0x0000000100ee2268 llvm::SelectionDAG::Legalize() + 56
13 llc               0x000000010102f851
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 3703
14 llc               0x000000010103229f
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 281
15 llc               0x0000000101032feb
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 3397
16 llc               0x000000010103373e
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1060
17 llc               0x00000001011d8eae
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 104
18 llc               0x0000000101642727
llvm::FPPassManager::runOnFunction(llvm::Function&) + 421
19 llc               0x000000010163cf77
llvm::FPPassManager::runOnModule(llvm::Module&) + 121
20 llc               0x0000000101642258
llvm::MPPassManager::runOnModule(llvm::Module&) + 616
21 llc               0x000000010164367f
llvm::PassManagerImpl::run(llvm::Module&) + 155
22 llc               0x0000000101643725 llvm::PassManager::run(llvm::Module&) +
39
23 llc               0x000000010083ceb3 main + 3763
24 llc               0x000000010083b434 start + 52
Stack dump:
0.    Program arguments: llc bug.ll -o /dev/null -mcpu=corei7-avx -mattr=+avx 
1.    Running pass 'Function Pass Manager' on module 'bug.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@"f_fu___REFUf[]REFUf[]Uf"'
[1]    15549 illegal hardware instruction  llc bug.ll -o /dev/null
-mcpu=corei7-avx -mattr=+avx

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list