OSDN Git Service

[ScalarizeMaskedMemIntrin] Add new PM support
authorAnna Thomas <anna@azul.com>
Mon, 7 Dec 2020 03:51:23 +0000 (22:51 -0500)
committerAnna Thomas <anna@azul.com>
Tue, 8 Dec 2020 22:15:22 +0000 (17:15 -0500)
commit29356e3279b24fec6c6cc731969b8599818e4426
tree8b0b8bb2cb4cd68f26af9801a7aedeb6e3152fa6
parent1968804ac726e7674d5de22bc2204b45857da344
[ScalarizeMaskedMemIntrin] Add new PM support

This patch adds new PM support for the pass and the pass can be now used
during middle-end transforms. The old pass is remamed to
ScalarizeMaskedMemIntrinLegacyPass.

Reviewed-By: skatkov, aeubanks
Differential Revision: https://reviews.llvm.org/D92743
12 files changed:
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/LinkAllPasses.h
llvm/include/llvm/Transforms/Scalar.h
llvm/include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h [new file with mode: 0644]
llvm/lib/CodeGen/TargetPassConfig.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Scalar/Scalar.cpp
llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
llvm/test/CodeGen/X86/masked_gather_scatter.ll
llvm/tools/llc/llc.cpp
llvm/tools/opt/opt.cpp