[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Steensgaard.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 3 16:53:01 PST 2003
Changes in directory llvm/lib/Analysis/DataStructure:
Steensgaard.cpp updated: 1.16 -> 1.17
---
Log message:
Rename variable
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/Steensgaard.cpp
diff -u llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.16 llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.17
--- llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.16 Fri Jan 31 22:51:55 2003
+++ llvm/lib/Analysis/DataStructure/Steensgaard.cpp Mon Feb 3 16:51:53 2003
@@ -209,17 +209,17 @@
AliasAnalysis::Result Steens::alias(const Value *V1, const Value *V2) {
assert(ResultGraph && "Result graph has not been computed yet!");
- hash_map<Value*, DSNodeHandle> &GVM = ResultGraph->getScalarMap();
+ hash_map<Value*, DSNodeHandle> &GSM = ResultGraph->getScalarMap();
- hash_map<Value*, DSNodeHandle>::iterator I = GVM.find(const_cast<Value*>(V1));
- if (I != GVM.end() && I->second.getNode()) {
+ hash_map<Value*, DSNodeHandle>::iterator I = GSM.find(const_cast<Value*>(V1));
+ if (I != GSM.end() && I->second.getNode()) {
DSNodeHandle &V1H = I->second;
- hash_map<Value*, DSNodeHandle>::iterator J=GVM.find(const_cast<Value*>(V2));
- if (J != GVM.end() && J->second.getNode()) {
+ hash_map<Value*, DSNodeHandle>::iterator J=GSM.find(const_cast<Value*>(V2));
+ if (J != GSM.end() && J->second.getNode()) {
DSNodeHandle &V2H = J->second;
// If the two pointers point to different data structure graph nodes, they
// cannot alias!
- if (V1H.getNode() != V2H.getNode()) {
+ if (V1H.getNode() != V2H.getNode()) { // FIXME: Handle incompleteness!
++NumNoAlias;
return NoAlias;
}
More information about the llvm-commits
mailing list