[LLVMbugs] [Bug 10494] New: [AVX] (Result.getValueType() == Op.getValueType() && "Bad legalization!") assert hits
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 26 02:25:59 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10494
Summary: [AVX] (Result.getValueType() == Op.getValueType() &&
"Bad legalization!") assert hits
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=6942)
--> (http://llvm.org/bugs/attachment.cgi?id=6942)
test case
With the attached, if I run:
% llc bug.ll -o /dev/null -mcpu=corei7-avx -mattr=+avx
I get the following crash:
Assertion failed: (Result.getValueType() == Op.getValueType() && "Bad
legalization!"), function LegalizeOp, file LegalizeDAG.cpp, line 1705.
0 llc 0x0000000105b13343 _ZL15PrintStackTracePv + 51
1 llc 0x0000000105b1389d _ZL13SignalHandleri + 333
2 libsystem_c.dylib 0x00007fff8a2a9cfa _sigtramp + 26
3 libsystem_c.dylib 0x00007fff647f12a8 _sigtramp + 18446744073077552584
4 llc 0x0000000105b1320f raise + 31
5 llc 0x0000000105b13240 abort + 16
6 llc 0x0000000105b1330d __assert_rtn + 189
7 llc 0x00000001052b7428 (anonymous
namespace)::SelectionDAGLegalize::LegalizeOp(llvm::SDValue) + 38376
8 llc 0x00000001052c5371 (anonymous
namespace)::SelectionDAGLegalize::LegalizeDAG() + 225
9 llc 0x000000010529e268 llvm::SelectionDAG::Legalize() + 56
10 llc 0x00000001053eb851
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 3703
11 llc 0x00000001053ee29f
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 281
12 llc 0x00000001053eefeb
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 3397
13 llc 0x00000001053ef73e
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1060
14 llc 0x0000000105594eae
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 104
15 llc 0x00000001059fe727
llvm::FPPassManager::runOnFunction(llvm::Function&) + 421
16 llc 0x00000001059f8f77
llvm::FPPassManager::runOnModule(llvm::Module&) + 121
17 llc 0x00000001059fe258
llvm::MPPassManager::runOnModule(llvm::Module&) + 616
18 llc 0x00000001059ff67f
llvm::PassManagerImpl::run(llvm::Module&) + 155
19 llc 0x00000001059ff725 llvm::PassManager::run(llvm::Module&) +
39
20 llc 0x0000000104bf8eb3 main + 3763
21 llc 0x0000000104bf7434 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] 15591 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