[LLVMbugs] [Bug 22801] New: CFL-AA doesn't understand internal global values properly
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 5 02:06:46 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22801
Bug ID: 22801
Summary: CFL-AA doesn't understand internal global values
properly
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Global Analyses
Assignee: unassignedbugs at nondot.org
Reporter: james.molloy at arm.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
In the following code:
static int g_1 = 0;
int f3(int n, int * a) {
int i;
for (i = 0; i < n; ++i) {
g_1 += a[i];
}
return g_1;
}
We know g_1 is internal and does not escape, therefore it cannot alias with
a[i]. CFL cannot currently work this out.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150305/8f4a4f16/attachment.html>
More information about the llvm-bugs
mailing list