[LLVMbugs] [Bug 14703] New: ScalarEvolution cannot detect the iteration count of a simple reverse loop.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Dec 23 22:28:46 PST 2012
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: unassignedbugs at nondot.org
ReportedBy: nrotem at apple.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list