[LLVMbugs] [Bug 6102] New: assertion " Not all catch info was assigned to a landing pad!"
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Jan 21 06:27:43 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6102
Summary: assertion "Not all catch info was assigned to a landing
pad!"
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: vargaz at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=4084)
--> (http://llvm.org/bugs/attachment.cgi?id=4084)
testcase
Not sure if this is a code generator or an optimizer problem.
In the attached testcase, llvm.eh.selector is called in a bblock which is a
target of an invoke, but the invoke is optimized away by 'opt' since it is in
an unreachable bblock, causing llc to crash with the following assertion:
llc: SelectionDAGISel.cpp:355: virtual bool
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&): Assertion
`FuncInfo->CatchInfoFound.size() == FuncInfo->CatchInfoLost.size() && "Not all
catch info was assigned to a landing pad!"' failed.
To reproduce:
llvm-as -o bug.bc bug.ll && opt bug.bc -O2 -o bug2.bc && llc bug2.bc
This is with llvm trunk on x86-64.
--
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