Skip to content

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Sep 2, 2025

Backport ba707db

Requested by: @nikic

@llvmbot
Copy link
Member Author

llvmbot commented Sep 2, 2025

@phoebewang What do you think about merging this PR to the release branch?

@phoebewang
Copy link
Contributor

@phoebewang What do you think about merging this PR to the release branch?

LGTM.

@tru tru moved this from Needs Triage to Needs Merge in LLVM Release Status Sep 3, 2025
@tru tru merged commit 0d67367 into llvm:release/21.x Sep 3, 2025
1 check was pending
@github-project-automation github-project-automation bot moved this from Needs Merge to Done in LLVM Release Status Sep 3, 2025
Copy link

github-actions bot commented Sep 3, 2025

@nikic (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

…ded passthrough and preserved source value (llvm#153575)

We already handle the case if the mask is one, so I added the other case where the op is replaced with a MOVSH/S/D blend.

This assumes the scalar passthrough is op0.

I had to adjust the test case for llvm#98306 as AFAICT it'd been over
reduced

Fixes llvm#153570

(cherry picked from commit ba707db)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants