[llvm] [VPlan] Use VPInstruction for uniform binops. (PR #141429)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 07:12:52 PDT 2025
================
@@ -8453,6 +8453,21 @@ VPRecipeBuilder::handleReplication(Instruction *I, ArrayRef<VPValue *> Operands,
assert((Range.Start.isScalar() || !IsUniform || !IsPredicated ||
(Range.Start.isScalable() && isa<IntrinsicInst>(I))) &&
"Should not predicate a uniform recipe");
+ if (IsUniform && !IsPredicated) {
----------------
fhahn wrote:
Added assert to https://github.com/llvm/llvm-project/pull/140623
https://github.com/llvm/llvm-project/pull/141429
More information about the llvm-commits
mailing list