[llvm-commits] CVS: llvm/lib/Analysis/AliasSetTracker.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 24 21:49:50 PST 2005
Changes in directory llvm/lib/Analysis:
AliasSetTracker.cpp updated: 1.34 -> 1.35
---
Log message:
Treat free operations as volatile, since they cannot be moved. This fixes
Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll
---
Diffs of the changes: (+3 -0)
AliasSetTracker.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Analysis/AliasSetTracker.cpp
diff -u llvm/lib/Analysis/AliasSetTracker.cpp:1.34 llvm/lib/Analysis/AliasSetTracker.cpp:1.35
--- llvm/lib/Analysis/AliasSetTracker.cpp:1.34 Thu Mar 17 09:36:18 2005
+++ llvm/lib/Analysis/AliasSetTracker.cpp Thu Mar 24 23:49:37 2005
@@ -288,6 +288,9 @@
bool NewPtr;
AliasSet &AS = addPointer(FI->getOperand(0), ~0,
AliasSet::Mods, NewPtr);
+
+ // Free operations are volatile ops (cannot be moved).
+ AS.setVolatile();
return NewPtr;
}
More information about the llvm-commits
mailing list