summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2017-11-03 12:12:27 +0000
committerClement Courbet <courbet@google.com>2017-11-03 12:12:27 +0000
commit063bed9baff63a0d716a5c9533cf2601dafbe0e0 (patch)
treed968b46a104218d50855cf4fea62effb5b0b6f43 /llvm/tools/opt/opt.cpp
parent31b6b0a82051dd5375112a88d25efb5df4f1fc7c (diff)
downloadbcm5719-llvm-063bed9baff63a0d716a5c9533cf2601dafbe0e0.tar.gz
bcm5719-llvm-063bed9baff63a0d716a5c9533cf2601dafbe0e0.zip
re-land [ExpandMemCmp] Split ExpandMemCmp from CodeGen into its own pass."
Fix undefined references: ExpandMemCmp belongs to CodeGen/, not Scalar/. llvm-svn: 317318
Diffstat (limited to 'llvm/tools/opt/opt.cpp')
-rw-r--r--llvm/tools/opt/opt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index e2fdfe82b8c..0371cd0372f 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -391,6 +391,7 @@ int main(int argc, char **argv) {
initializeTarget(Registry);
// For codegen passes, only passes that do IR to IR transformation are
// supported.
+ initializeExpandMemCmpPassPass(Registry);
initializeScalarizeMaskedMemIntrinPass(Registry);
initializeCodeGenPreparePass(Registry);
initializeAtomicExpandPass(Registry);
OpenPOWER on IntegriCloud