summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2019-05-23 12:35:26 +0000
committerClement Courbet <courbet@google.com>2019-05-23 12:35:26 +0000
commit43882b16a343fc848a9485d59479f48a34abdbdc (patch)
treef9c355796966f271f424924141e2e4127d5cb886 /llvm/lib/CodeGen/TargetPassConfig.cpp
parent903f5b05e264cca4bb24296f012854afe3102f6e (diff)
downloadbcm5719-llvm-43882b16a343fc848a9485d59479f48a34abdbdc.tar.gz
bcm5719-llvm-43882b16a343fc848a9485d59479f48a34abdbdc.zip
[MergeICmps] Make the pass compatible with the new pass manager.
Reviewers: gchatelet, spatel Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62287 llvm-svn: 361490
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetPassConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 09ae7bc02e4..1b7d6be4d7b 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -646,7 +646,7 @@ void TargetPassConfig::addIRPasses() {
// into optimally-sized loads and compares. The transforms are enabled by a
// target lowering hook.
if (!DisableMergeICmps)
- addPass(createMergeICmpsPass());
+ addPass(createMergeICmpsLegacyPass());
addPass(createExpandMemCmpPass());
}
OpenPOWER on IntegriCloud