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

           Summary: loop-reduce / scalar-evolution crash expanding
                    {0,+,2,+,2} addrec
           Product: libraries
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Loop Optimizer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=2369)
 --> (http://llvm.org/bugs/attachment.cgi?id=2369)
testcase

opt -loop-reduce b.bc crashes trying to emit an addrec of {0,+,2,+,2} because
the SCEV for %indvar returns CouldNotCompute.

And that's correct. This "loop" has a i1 false for a branch condition, meaning
that scev won't analyze it. I'm not sure who's at fault here.


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