[llvm] [LV] Remove redundant parameter in IV live-out optimization (PR #195036)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 06:42:52 PDT 2026
================
@@ -1138,7 +1137,7 @@ static VPValue *optimizeLatchExitInductionUser(
return EndValue;
// Otherwise, subtract the step from the EndValue.
- VPBuilder B(cast<VPBasicBlock>(PredVPBB)->getTerminator());
+ VPBuilder B(cast<VPInstruction>(Op));
----------------
Mel-Chen wrote:
Sure, thanks. This also points out that the debug loc of new recipes isn't set in optimizeLatchExitInductionUser.
c9960f9f4a180c534d3d3052f2fcff5a1b9ec62a
https://github.com/llvm/llvm-project/pull/195036
More information about the llvm-commits
mailing list