[llvm] [VPlan] Introduce ResumePhi VPInstruction, use to create phi for FOR. (PR #94760)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 05:08:46 PDT 2024
================
@@ -696,7 +734,7 @@ void VPInstruction::execute(VPTransformState &State) {
assert(GeneratedValue && "generatePerPart must produce a value");
assert((GeneratedValue->getType()->isVectorTy() ==
!GeneratesPerFirstLaneOnly ||
- State.VF.isScalar()) &&
+ State.VF.isSingleScalar()) &&
----------------
ayalz wrote:
Checking if VF is 1 should stay isScalar()?
https://github.com/llvm/llvm-project/pull/94760
More information about the llvm-commits
mailing list