[llvm] [VPlan] Consistently use (Part, 0) for first lane scalar values (PR #80271)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 05:20:25 PST 2024
================
@@ -263,6 +263,10 @@ struct VPTransformState {
/// \see set.
Value *get(VPValue *Def, unsigned Part);
+ /// Get the generated Value for a given VPValue \p Def and a given \p Part or
+ /// lane 0 for the part if \p NeedsScalar is true. \see set.
----------------
fhahn wrote:
Updated and renamed the arg to `IsScalar` to hopefully clarify.
https://github.com/llvm/llvm-project/pull/80271
More information about the llvm-commits
mailing list