summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
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
commit54888473044270fe479a7014a40edfe24fb76297 (patch)
tree21796c80f62bdc89301441d52a07d7e53e08b2ea /llvm/lib/Analysis
parentf42d7b54c0656007812feccaddf823fbea658c32 (diff)
downloadbcm5719-llvm-54888473044270fe479a7014a40edfe24fb76297.tar.gz
bcm5719-llvm-54888473044270fe479a7014a40edfe24fb76297.zip
the correct fix was to fix AliasAnalysis.getModRefInfo
llvm-svn: 22268
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/LoadValueNumbering.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/LoadValueNumbering.cpp b/llvm/lib/Analysis/LoadValueNumbering.cpp
index 721fe47da88..16e79a1286f 100644
--- a/llvm/lib/Analysis/LoadValueNumbering.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud