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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 02:05:48 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;
----------------
fhahn wrote:

nit: more consistent with other terminology we use elsewhere?
```suggestion
  bool isSingleScalar() const;
```

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


More information about the llvm-commits mailing list