aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorAlexis Engelke <engelke@in.tum.de>2024-08-06 09:27:59 +0200
committerGitHub <noreply@github.com>2024-08-06 09:27:59 +0200
commitfa92d51f9e609270bf14c4bc16eb42a98183d27f (patch)
tree978ca4725da181541079bb7f11bbaa72636b1074 /llvm/lib/CodeGen/TargetPassConfig.cpp
parentc2f92fa3ab496a5a8edfe73297ad4f593413af27 (diff)
downloadllvm-fa92d51f9e609270bf14c4bc16eb42a98183d27f.zip
llvm-fa92d51f9e609270bf14c4bc16eb42a98183d27f.tar.gz
llvm-fa92d51f9e609270bf14c4bc16eb42a98183d27f.tar.bz2
[VP] Merge ExpandVP pass into PreISelIntrinsicLowering (#101652)
Similar to #97727; avoid an extra pass over the entire IR by performing the lowering as part of the pre-isel-intrinsic-lowering pass.
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetPassConfig.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index eb74c6f..3a20b34 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -865,11 +865,6 @@ void TargetPassConfig::addIRPasses() {
if (getOptLevel() != CodeGenOptLevel::None && !DisablePartialLibcallInlining)
addPass(createPartiallyInlineLibCallsPass());
- // Expand vector predication intrinsics into standard IR instructions.
- // This pass has to run before ScalarizeMaskedMemIntrin and ExpandReduction
- // passes since it emits those kinds of intrinsics.
- addPass(createExpandVectorPredicationPass());
-
// Instrument function entry after all inlining.
addPass(createPostInlineEntryExitInstrumenterPass());