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

           Summary: LoopIndexSplit executes loop body too many times!
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Loop Optimizer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=2970)
 --> (http://llvm.org/bugs/attachment.cgi?id=2970)
test case

With the attached test case, I get:

$ llvm-as -o - s.ll | lli
0
1
2
3

but:

$ llvm-as -o - s.ll | opt -f -loop-index-split | lli
0
1
2
2
3
4

LoopIndexSplit has completely broken how many times the loop iterates! This
test case is reduced from a loop that was mysteriously misbehaving deep inside
a C++ application.


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