[PATCH] D92407: [ScalarizeMaskedMemIntrinsic] Move from CodeGen into Transforms
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 1 10:22:03 PST 2020
anna created this revision.
anna added reviewers: aymanmus, craig.topper, apilipenko, skatkov.
Herald added subscribers: dantrushin, hiraditya, mgorny.
Herald added a project: LLVM.
anna requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92407
Files:
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/CodeGen.cpp
llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Transforms/Scalar/CMakeLists.txt
llvm/lib/Transforms/Scalar/Scalar.cpp
llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92407.308703.patch
Type: text/x-patch
Size: 4278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201201/15dbba69/attachment.bin>
More information about the llvm-commits
mailing list