[llvm-commits] CVS: llvm/lib/Analysis/AliasAnalysis.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 23 14:06:58 PST 2005
Changes in directory llvm/lib/Analysis:
AliasAnalysis.cpp updated: 1.23 -> 1.24
---
Log message:
Make this a bit more aggressive
---
Diffs of the changes: (+1 -1)
AliasAnalysis.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Analysis/AliasAnalysis.cpp
diff -u llvm/lib/Analysis/AliasAnalysis.cpp:1.23 llvm/lib/Analysis/AliasAnalysis.cpp:1.24
--- llvm/lib/Analysis/AliasAnalysis.cpp:1.23 Thu Mar 17 09:36:18 2005
+++ llvm/lib/Analysis/AliasAnalysis.cpp Wed Mar 23 16:06:41 2005
@@ -125,7 +125,7 @@
// If P points to a constant memory location, the call definitely could not
// modify the memory location.
if ((Mask & Mod) && AA->pointsToConstantMemory(P))
- Mask = Ref;
+ Mask = ModRefResult(Mask & ~Mod);
return ModRefResult(Mask & AA->getModRefInfo(CS, P, Size));
}
More information about the llvm-commits
mailing list