diff options
author | Clement Courbet <courbet@google.com> | 2019-05-23 12:35:26 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2019-05-23 12:35:26 +0000 |
commit | 43882b16a343fc848a9485d59479f48a34abdbdc (patch) | |
tree | f9c355796966f271f424924141e2e4127d5cb886 /llvm/lib/CodeGen/TargetPassConfig.cpp | |
parent | 903f5b05e264cca4bb24296f012854afe3102f6e (diff) | |
download | bcm5719-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.cpp | 2 |
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()); } |