[llvm] [LV][VPlan] Add initial support for CSA vectorization (PR #106560)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 07:55:41 PDT 2024
================
@@ -669,6 +673,65 @@ Value *VPInstruction::generate(VPTransformState &State) {
}
return NewPhi;
}
+ case VPInstruction::CSAMaskPhi: {
+ IRBuilder<>::InsertPointGuard Guard(State.Builder);
+ State.Builder.SetInsertPoint(State.CFG.PrevBB->getFirstNonPHI());
----------------
fhahn wrote:
Why does the builder need to be reset here?
https://github.com/llvm/llvm-project/pull/106560
More information about the llvm-commits
mailing list