summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/GVN.cpp
diff options
context:
space:
mode:
authorVivek Pandya <vivekvpandya@gmail.com>2017-09-15 19:53:54 +0000
committerVivek Pandya <vivekvpandya@gmail.com>2017-09-15 19:53:54 +0000
commitdf8598dcc46bde61fd70e2a39b6b8a067cc8be4a (patch)
tree2e1611061b39e36c315db9964457895cf2770aaa /llvm/lib/Transforms/Scalar/GVN.cpp
parent8b0bbc6fe03b50a87312902ed9ae2a09c5735889 (diff)
downloadbcm5719-llvm-df8598dcc46bde61fd70e2a39b6b8a067cc8be4a.tar.gz
bcm5719-llvm-df8598dcc46bde61fd70e2a39b6b8a067cc8be4a.zip
This reverts r313381
llvm-svn: 313387
Diffstat (limited to 'llvm/lib/Transforms/Scalar/GVN.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/GVN.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp
index 593aad74bd1..497e1d3eb37 100644
--- a/llvm/lib/Transforms/Scalar/GVN.cpp
+++ b/llvm/lib/Transforms/Scalar/GVN.cpp
@@ -920,7 +920,8 @@ bool GVN::AnalyzeLoadAvailability(LoadInst *LI, MemDepResult DepInfo,
Instruction *I = DepInfo.getInst();
dbgs() << " is clobbered by " << *I << '\n';
);
- if (ORE->allowExtraAnalysis(DEBUG_TYPE))
+
+ if (ORE->allowExtraAnalysis())
reportMayClobberedLoad(LI, DepInfo, DT, ORE);
return false;
OpenPOWER on IntegriCloud