[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


================
@@ -334,6 +334,13 @@ Value *VPTransformState::get(VPValue *Def, unsigned Part) {
   return VectorValue;
 }
 
+Value *VPTransformState::get(VPValue *Def, unsigned Part,
+                             unsigned NeedsScalar) {
----------------
fhahn wrote:

Updated to have a single get() that takes part and IsScalar=false as default arg.

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


More information about the llvm-commits mailing list