Skip to content

[LV] Update stale comment for partial reduction operands (NFC)#198118

Merged
MacDue merged 1 commit into
mainfrom
users/MacDue/update-stale-comment
May 17, 2026
Merged

[LV] Update stale comment for partial reduction operands (NFC)#198118
MacDue merged 1 commit into
mainfrom
users/MacDue/update-stale-comment

Conversation

@MacDue

@MacDue MacDue commented May 16, 2026

Copy link
Copy Markdown
Member

The neg form was removed in #187228 (this case now uses the out-of-loop sub, which is preferable, see #189739).

The `neg` form was removed in #187228 (this case now uses the out-of-loop sub, which is preferable, see #189739).
@llvmorg-github-actions

Copy link
Copy Markdown

@llvm/pr-subscribers-llvm-transforms

Author: Benjamin Maxwell (MacDue)

Changes

The neg form was removed in #187228 (this case now uses the out-of-loop sub, which is preferable, see #189739).


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

1 Files Affected:

  • (modified) llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp (-2)
diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index 1c5887d3803a4..5f584d9ae1718 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -6163,8 +6163,6 @@ static ExtendKind getPartialReductionExtendKind(VPWidenCastRecipe *Cast) {
 ///  - UpdateR(PrevValue, ext(...))
 ///  - UpdateR(PrevValue, mul(ext(...), ext(...)))
 ///  - UpdateR(PrevValue, mul(ext(...), Constant))
-///  - UpdateR(PrevValue, neg(mul(ext(...), ext(...))))
-///  - UpdateR(PrevValue, neg(mul(ext(...), Constant)))
 ///  - UpdateR(PrevValue, ext(mul(ext(...), ext(...))))
 ///  - UpdateR(PrevValue, ext(mul(ext(...), Constant)))
 ///  - UpdateR(PrevValue, abs(sub(ext(...), ext(...)))

@llvmorg-github-actions

Copy link
Copy Markdown

@llvm/pr-subscribers-vectorizers

Author: Benjamin Maxwell (MacDue)

Changes

The neg form was removed in #187228 (this case now uses the out-of-loop sub, which is preferable, see #189739).


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

1 Files Affected:

  • (modified) llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp (-2)
diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index 1c5887d3803a4..5f584d9ae1718 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -6163,8 +6163,6 @@ static ExtendKind getPartialReductionExtendKind(VPWidenCastRecipe *Cast) {
 ///  - UpdateR(PrevValue, ext(...))
 ///  - UpdateR(PrevValue, mul(ext(...), ext(...)))
 ///  - UpdateR(PrevValue, mul(ext(...), Constant))
-///  - UpdateR(PrevValue, neg(mul(ext(...), ext(...))))
-///  - UpdateR(PrevValue, neg(mul(ext(...), Constant)))
 ///  - UpdateR(PrevValue, ext(mul(ext(...), ext(...))))
 ///  - UpdateR(PrevValue, ext(mul(ext(...), Constant)))
 ///  - UpdateR(PrevValue, abs(sub(ext(...), ext(...)))

@artagnon artagnon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@MacDue
MacDue merged commit 0518e54 into main May 17, 2026
13 checks passed
@MacDue
MacDue deleted the users/MacDue/update-stale-comment branch May 17, 2026 16:04
pedroMVicente pushed a commit to pedroMVicente/llvm-project that referenced this pull request May 19, 2026
…198118)

The `neg` form was removed in llvm#187228 (this case now uses the
out-of-loop sub, which is preferable, see llvm#189739).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants