aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2020-12-02 15:07:09 -0500
committerAnna Thomas <anna@azul.com>2020-12-08 12:25:58 -0500
commit09f2f9605fbaff2b72c586d76256c9e6e312a0f3 (patch)
tree0166202f447b1f669afc7e7321f7a6ff2922271d /llvm/lib/CodeGen/CodeGen.cpp
parentb15491eb333809e907e51d1b05da2a6a6344a427 (diff)
downloadllvm-09f2f9605fbaff2b72c586d76256c9e6e312a0f3.zip
llvm-09f2f9605fbaff2b72c586d76256c9e6e312a0f3.tar.gz
llvm-09f2f9605fbaff2b72c586d76256c9e6e312a0f3.tar.bz2
[ScalarizeMaskedMemIntrinsic] Move from CodeGen into Transforms
ScalarizeMaskedMemIntrinsic is currently a codeGen level pass. The pass is actually operating on IR level and does not use any code gen specific passes. It is useful to move it into transforms directory so that it can be more widely used as a mid-level transform as well (apart from usage in codegen pipeline). In particular, we have a usecase downstream where we would like to use this pass in our mid-level pipeline which operates on IR level. The next change will be to add support for new PM. Reviewers: craig.topper, apilipenko, skatkov Reviewed-By: skatkov Differential Revision: https://reviews.llvm.org/D92407
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 5000373..92a2b73 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -98,7 +98,6 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeRegisterCoalescerPass(Registry);
initializeRenameIndependentSubregsPass(Registry);
initializeSafeStackLegacyPassPass(Registry);
- initializeScalarizeMaskedMemIntrinPass(Registry);
initializeShrinkWrapPass(Registry);
initializeSjLjEHPreparePass(Registry);
initializeSlotIndexesPass(Registry);