[llvm] [VPlan] Demarcate VPIs that gen scalars (NFC) (PR #196207)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 02:12:11 PDT 2026


================
@@ -1434,12 +1434,12 @@ class LLVM_ABI_FOR_TEST VPInstruction : public VPRecipeWithIRFlags,
 
   /// Returns true if we can generate a scalar for the first lane only if
   /// needed.
-  bool canGenerateScalarForFirstLane() const;
+  bool doesGenerateSingleScalar() const;
----------------
artagnon wrote:

Ah, VPI::isSingleScalar already exists unfortunately?

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


More information about the llvm-commits mailing list