[llvm] [VPlan] Introduce ResumePhi VPInstruction, use to create phi for FOR. (PR #94760)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 08:07:50 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()) &&
----------------
fhahn wrote:

Ah yes, should be fixed, thanks!

https://github.com/llvm/llvm-project/pull/94760


More information about the llvm-commits mailing list