[llvm] [VPlan] Update final exit value via VPlan. (PR #112147)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 5 03:53:19 PST 2025


================
@@ -315,16 +315,20 @@ Value *VPTransformState::get(VPValue *Def, bool NeedsScalar) {
     LastLane = 0;
   }
 
-  auto *LastInst = cast<Instruction>(get(Def, LastLane));
-  // Set the insert point after the last scalarized instruction or after the
-  // last PHI, if LastInst is a PHI. This ensures the insertelement sequence
-  // will directly follow the scalar definitions.
+  auto *LastDef = get(Def, LastLane);
----------------
fhahn wrote:

Done, thanks

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


More information about the llvm-commits mailing list