[llvm] [VPlan] Use NeedsSingleScalar consistently for ::get (NFC). (PR #226494)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 06:48:34 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-vectorizers

Author: Florian Hahn (fhahn)

<details>
<summary>Changes</summary>

IsScalar/IsSingleScalar as used currently may be consfusing, as it could be read as implying that the VPValue is a single-scalar, see https://github.com/llvm/llvm-project/pull/226153.

But here it means that the caller only needs a single scalar. Update wording.

---
Full diff: https://github.com/llvm/llvm-project/pull/226494.diff


3 Files Affected:

- (modified) llvm/lib/Transforms/Vectorize/VPlan.cpp (+5-5) 
- (modified) llvm/lib/Transforms/Vectorize/VPlanHelpers.h (+4-3) 
- (modified) llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp (+17-15) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


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


More information about the llvm-commits mailing list