[llvm] [VPlan] Introduce vputils::onlyScalarValuesUsed (NFC) (PR #153577)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 15 07:09:41 PDT 2025


================
@@ -25,6 +25,9 @@ bool onlyFirstLaneUsed(const VPValue *Def);
 /// Returns true if only the first part of \p Def is used.
 bool onlyFirstPartUsed(const VPValue *Def);
 
+/// Returns true if only scalar values of \p Def is used by all users.
----------------
fhahn wrote:

```suggestion
/// Returns true if only scalar values of \p Def are used by all users.
```

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


More information about the llvm-commits mailing list