summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
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