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

             Bug #: 14703
           Summary: ScalarEvolution cannot detect the iteration count of a
                    simple reverse loop.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


SCEV can't detect the iteration count of the following loop (example21 from
gcc-loops). As a result the loop vectorizer can't vectorize it. It can handle
reverse loops that end at zero.

for (i = n-1; i >= 0; i--)
     a += b[i];

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