[LLVMbugs] [Bug 3874] New: infloop in instcombine

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Mar 24 14:21:57 PDT 2009


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

           Summary: infloop in instcombine
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


This code triggers an infinite loop if run through opt -instcombine:

  define i1 @test(i32 %x) {
    %A = lshr i32 3968, %x
    %B = and i32 %A, 1
    %C = icmp eq i32 %B, 0
    ret i1 %C
  }

This is blocking builds of llvm-gcc on Linux.


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