[llvm] [VPlan] Fix `pseudoprobe` being treated a vector intrinsic (PR #185347)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 06:29:29 PDT 2026
================
@@ -92,7 +92,13 @@ bool VPlanTransforms::tryToConvertVPInstructionsToVPRecipes(
Ingredient.getDebugLoc());
} else if (CallInst *CI = dyn_cast<CallInst>(Inst)) {
Intrinsic::ID VectorID = getVectorIntrinsicIDForCall(CI, &TLI);
- if (VectorID == Intrinsic::not_intrinsic)
+ if (VectorID == Intrinsic::not_intrinsic ||
+ VectorID == Intrinsic::assume ||
----------------
fhahn wrote:
at least `assume` we should be able to drop instead of bailing out.
Would be good to att a comment here why we bail out. And ideally test for all those intrinsics for completeness
https://github.com/llvm/llvm-project/pull/185347
More information about the llvm-commits
mailing list