diff options
author | Clement Courbet <courbet@google.com> | 2017-11-03 12:12:27 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2017-11-03 12:12:27 +0000 |
commit | 3d456013b6bbf241696e8bf1570502412e62a63c (patch) | |
tree | f7a48607a243709fad15386e156002a98158507d /tools/opt | |
parent | eb7c044ce99bf0576ab8017c0b63eb0f2d7e6c5b (diff) |
re-land [ExpandMemCmp] Split ExpandMemCmp from CodeGen into its own pass."
Fix undefined references: ExpandMemCmp belongs to CodeGen/, not Scalar/.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt')
-rw-r--r-- | tools/opt/opt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index e2fdfe82b8c..0371cd0372f 100644 --- a/tools/opt/opt.cpp +++ b/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); |