[LLVMbugs] [Bug 10465] New: Assertion `Inst.getOperand(0).isReg() && Inst.getOperand(ImmOp).isImm() && ((Inst.getNumOperands() == 3 && Inst.getOperand(1).isReg() && Inst.getOperand(0).getReg() == Inst.getOperand(1).getReg()) || Inst.getNumOperands() == 2) && "Unexpected instruction!
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jul 24 12:26:46 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10465
Summary: Assertion `Inst.getOperand(0).isReg() &&
Inst.getOperand(ImmOp).isImm() &&
((Inst.getNumOperands() == 3 &&
Inst.getOperand(1).isReg() &&
Inst.getOperand(0).getReg() ==
Inst.getOperand(1).getReg()) || Inst.getNumOperands()
== 2) && "Unexpected instruction!
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nadav.rotem at intel.com
CC: llvmbugs at cs.uiuc.edu
llc: X86MCInstLower.cpp:236: void SimplifyShortImmForm(llvm::MCInst&, unsigned
int): Assertion `Inst.getOperand(0).isReg() && Inst.getOperand(ImmOp).isImm()
&& ((Inst.getNumOperands() == 3 && Inst.getOperand(1).isReg() &&
Inst.getOperand(0).getReg() == Inst.getOperand(1).getReg()) ||
Inst.getNumOperands() == 2) && "Unexpected instruction!"' failed.
0 llc 0x000000000153ff42
1 llc 0x00000000015404d0
2 libpthread.so.0 0x00002aaaaabd4d60
3 libc.so.6 0x00002aaaab274f45 gsignal + 53
4 libc.so.6 0x00002aaaab276340 abort + 272
5 libc.so.6 0x00002aaaab26e486 __assert_fail + 246
6 llc 0x0000000000e2c06e
7 llc 0x0000000000e2e756
8 llc 0x0000000000e2f0e8
9 llc 0x00000000010a2e1e llvm::AsmPrinter::EmitFunctionBody() +
1186
10 llc 0x0000000000e2a03f
11 llc 0x000000000114490d
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85
12 llc 0x000000000147a237
llvm::FPPassManager::runOnFunction(llvm::Function&) + 371
13 llc 0x000000000147a42f
llvm::FPPassManager::runOnModule(llvm::Module&) + 81
14 llc 0x0000000001479ee3
llvm::MPPassManager::runOnModule(llvm::Module&) + 381
15 llc 0x000000000147b698 llvm::PassManagerImpl::run(llvm::Module&)
+ 116
16 llc 0x000000000147b6fb llvm::PassManager::run(llvm::Module&) +
33
17 llc 0x0000000000ab6424 main + 2410
18 libc.so.6 0x00002aaaab262304 __libc_start_main + 244
19 llc 0x0000000000ab4b69
Stack dump:
0. Program arguments: llc fail_5410.ll
1. Running pass 'Function Pass Manager' on module 'fail_5410.ll'.
2. Running pass 'X86 AT&T-Style Assembly Printer' on function
'@autogen_5410_1000'
; ModuleID = 'bugpoint-reduced-simplified.bc'
target triple = "x86_64-unknown-linux-gnu"
define void @autogen_5410_1000(i8*) {
BB:
%A4 = alloca <16 x i32>
%E = extractelement <4 x i1> undef, i32 3
br label %CF
CF: ; preds = %CF81, %CF, %BB
store i1 %E, i1* undef
br i1 undef, label %CF, label %CF81
CF81: ; preds = %CF
br i1 undef, label %CF, label %CF79
CF79: ; preds = %CF85, %CF79, %CF81
%L17 = load i8* %0
br i1 undef, label %CF79, label %CF83
CF83: ; preds = %CF83, %CF79
br i1 undef, label %CF83, label %CF84
CF84: ; preds = %CF84, %CF83
%B28 = frem <1 x float> zeroinitializer, undef
%S30 = select i1 %E, i32 62519, i32 undef
%L32 = load i1* undef
br i1 %L32, label %CF84, label %CF85
CF85: ; preds = %CF84
%S39 = icmp ugt i1 undef, %E
br i1 %S39, label %CF79, label %CF82
CF82: ; preds = %CF82, %CF85
br i1 undef, label %CF82, label %CF86
CF86: ; preds = %CF86, %CF82
%E49 = extractelement <1 x float> %B28, i32 0
br i1 undef, label %CF86, label %CF87
CF87: ; preds = %CF87, %CF86
br i1 undef, label %CF87, label %CF88
CF88: ; preds = %CF88, %CF87
br i1 undef, label %CF88, label %CF89
CF89: ; preds = %CF89, %CF88
%S63 = icmp eq i32 315983, %S30
br i1 %S63, label %CF89, label %CF90
CF90: ; preds = %CF90, %CF89
br i1 undef, label %CF90, label %CF91
CF91: ; preds = %CF91, %CF90
br i1 undef, label %CF91, label %CF92
CF92: ; preds = %CF91
store i8 0, i8* %0
store i1 %E, i1* undef
store i8 %L17, i8* %0
ret void
}
--
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