[LLVMbugs] [Bug 12338] New: Infinite loop in the InstCombiner pass

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 23 09:25:40 PDT 2012


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

             Bug #: 12338
           Summary: Infinite loop in the InstCombiner pass
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vslugovsky at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8259
  --> http://llvm.org/bugs/attachment.cgi?id=8259
Bitcode which sends instcombine into an endless loop

InstCombiner loops endlessly here:

// Iterate while there is work to do.
  unsigned Iteration = 0;
  while (DoOneIteration(F, Iteration++))
    EverMadeChange = true;

See the attached .ll sample code. It should be passed through instcombine
directly, without any other passes.

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