[LLVMbugs] [Bug 14753] New: Should recognize memset loop with a global induction variable
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Dec 30 15:31:17 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14753
Bug #: 14753
Summary: Should recognize memset loop with a global induction
variable
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: gribozavr at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Currently this loop is not rewritten into a memset:
int gi;
void foo2(int n, float *a) {
for(gi = 0; gi < n; gi++)
a[gi] = 0;
}
It should be safe to do so since float *a and int gi may not alias.
--
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