[LLVMbugs] [Bug 2756] New: infinite loop in instcombine after mem2reg

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Sep 2 17:34:28 PDT 2008


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

           Summary: infinite loop in instcombine after mem2reg
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: paul at rapidmind.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1984)
 --> (http://llvm.org/bugs/attachment.cgi?id=1984)
ll file to reproduce the infinite loop

the attached ll file can be used to generate an infinite loop in instruction
combining when called after a single mem2reg pass.

reproduce by:
1) llvm-as inf_loop_instcombine.ll
2) opt inf_loop_instcombine.ll -mem2reg -instcombine -o=foo.bc

Note: without -mem2reg or by using the default optimizations the pass runs to
completion.


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