[LLVMbugs] [Bug 3138] New: jump threading horribly broken

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Nov 27 06:38:59 PST 2008


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

           Summary: jump threading horribly broken
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Compiling this:

define i32 @jt() {
entry:
        br i1 true, label %bb3, label %bb

bb:             ; preds = %entry
        unreachable

bb3:            ; preds = %entry
        ret i32 0
}

with opt -jump-threading gives:

define i32 @jt() {
bb:
        unreachable

bb3:            ; No predecessors!
        ret i32 0
}


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