[LLVMbugs] [Bug 10995] New: [AVX] llc crashes for x86/AVX target

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 23 03:06:37 PDT 2011


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

           Summary: [AVX] llc crashes for x86/AVX target
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: syoyofujita at gmail.com
                CC: llvmbugs at cs.uiuc.edu


revision: 140371

llc crashes for the attached input case, reported as;

syoyos-MacBook-Pro:renderer syoyo$ llc -mattr=+avx bugpoint-reduced-function.ll 
Assertion failed: (TLI.isTypeLegal(ValueVTs[Val]) && "Intrinsic uses a
non-legal type?"), function visitTargetIntrinsic, file SelectionDAGBuilder.cpp,
line 3498.
0  llc               0x000000010099f772 PrintStackTrace(void*) + 34
1  llc               0x000000010099fc89 SignalHandler(int) + 697
2  libSystem.B.dylib 0x00007fff811431ba _sigtramp + 26
3  libSystem.B.dylib 0x000000000000000b _sigtramp + 2129383019
4  llc               0x000000010099f9b6 abort + 22
5  llc               0x000000010099f975 __assert_rtn + 53
6  llc               0x00000001005190d3
llvm::SelectionDAGBuilder::visitTargetIntrinsic(llvm::CallInst const&, unsigned
int) + 883
7  llc               0x00000001005222ae
llvm::SelectionDAGBuilder::visitIntrinsicCall(llvm::CallInst const&, unsigned
int) + 574
8  llc               0x0000000100504287
llvm::SelectionDAGBuilder::visitCall(llvm::CallInst const&) + 967
9  llc               0x00000001004fdbe1
llvm::SelectionDAGBuilder::visit(unsigned int, llvm::User const&) + 865
10 llc               0x00000001004fd0e2
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 66
11 llc               0x0000000100535408
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 40
12 llc               0x0000000100534795
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 229
13 llc               0x0000000100533b77
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 919
14 llc               0x000000010061ff73
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 83
15 llc               0x00000001008fbc40
llvm::FPPassManager::runOnFunction(llvm::Function&) + 752
16 llc               0x00000001008fbd6b
llvm::FPPassManager::runOnModule(llvm::Module&) + 187
17 llc               0x00000001008fb51f
llvm::MPPassManager::runOnModule(llvm::Module&) + 607
18 llc               0x00000001008fb821
llvm::PassManagerImpl::run(llvm::Module&) + 177
19 llc               0x00000001008fb93d llvm::PassManager::run(llvm::Module&) +
13
20 llc               0x00000001000026df main + 4767
21 llc               0x0000000100001434 start + 52
22 llc               0x0000000000000003 start + 4294962179
Stack dump:
0.    Program arguments: llc -mattr=+avx bugpoint-reduced-function.ll 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-function.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_Z6exp_psDv4_f'
Illegal instruction

-- 
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