[LLVMbugs] [Bug 57] New: [inliner] Inlining invoke with PHI in unwind target is broken

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Sun Oct 26 21:15:07 PST 2003


           Summary: [inliner] Inlining invoke with PHI in unwind target is
           Product: libraries
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interprocedural Optimizations
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org

The inliner is breaking inlining invoke instructions where there is a PHI node
in the exception destination, and the inlined function contains an unwind

Here is a testcase, which is Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll

; RUN: llvm-as < %s | opt -inline -disable-output


linkonce void %foo() {

int %test() {
        invoke void %foo() to label %Cont except label %Cont
        %A = phi int [ 0, %BB1], [0, %BB1]
        ret int %A

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list