summaryrefslogtreecommitdiff
path: root/lib/Analysis/LoadValueNumbering.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-06-20 15:25:22 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-06-20 15:25:22 +0000
commitc826aea9825be1da844f46e18e41ae5f953e14b5 (patch)
tree33e1bf42f8b5abeedcb5ea6d2a9ebb3a5b6942d3 /lib/Analysis/LoadValueNumbering.cpp
parent14f1703ae33e13dbcadd701603fd4d7a6f7010b9 (diff)
downloadllvm-c826aea9825be1da844f46e18e41ae5f953e14b5.tar.gz
llvm-c826aea9825be1da844f46e18e41ae5f953e14b5.tar.bz2
llvm-c826aea9825be1da844f46e18e41ae5f953e14b5.tar.xz
the correct fix was to fix AliasAnalysis.getModRefInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoadValueNumbering.cpp')
-rw-r--r--lib/Analysis/LoadValueNumbering.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Analysis/LoadValueNumbering.cpp b/lib/Analysis/LoadValueNumbering.cpp
index 721fe47da8..16e79a1286 100644
--- a/lib/Analysis/LoadValueNumbering.cpp
+++ b/lib/Analysis/LoadValueNumbering.cpp
@@ -328,10 +328,6 @@ void LoadVN::getEqualNumberNodes(Value *V,
LoadInvalidatedInBBBefore = true;
break;
}
- if (dyn_cast<VAArgInst>(I)) {
- LoadInvalidatedInBBBefore = true;
- break;
- }
}
// Figure out if the load is invalidated between the load and the exit of the