From fa92d51f9e609270bf14c4bc16eb42a98183d27f Mon Sep 17 00:00:00 2001 From: Alexis Engelke Date: Tue, 6 Aug 2024 09:27:59 +0200 Subject: [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. --- llvm/lib/CodeGen/TargetPassConfig.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp') diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp index eb74c6f3e5d4..3a20b340d45f 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()); -- cgit v1.2.3