diff options
author | Clement Courbet <courbet@google.com> | 2019-06-26 11:50:18 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2019-06-26 11:50:18 +0000 |
commit | 7b3a5f0e6da888655fb553c7af98db7fc1084c79 (patch) | |
tree | 6bae3226e9faf4259fbb96f887df9216c9d6c8f4 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 449aa3c6e8a23b0484daabd5757f4fe35572f7d7 (diff) | |
download | bcm5719-llvm-7b3a5f0e6da888655fb553c7af98db7fc1084c79.tar.gz bcm5719-llvm-7b3a5f0e6da888655fb553c7af98db7fc1084c79.zip |
[ExpandMemCmp][MergeICmps] Move passes out of CodeGen into opt pipeline.
This allows later passes (in particular InstCombine) to optimize more
cases.
One that's important to us is `memcmp(p, q, constant) < 0` and memcmp(p, q, constant) > 0.
llvm-svn: 364412
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index c37ed57781d..ea315794b2e 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -30,7 +30,6 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializeEarlyIfConverterPass(Registry); initializeEarlyMachineLICMPass(Registry); initializeEarlyTailDuplicatePass(Registry); - initializeExpandMemCmpPassPass(Registry); initializeExpandPostRAPass(Registry); initializeFEntryInserterPass(Registry); initializeFinalizeISelPass(Registry); |