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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to