Skip to content

Conversation

hvdijk
Copy link
Contributor

@hvdijk hvdijk commented Aug 27, 2025

…erands (#148829)

The testcase I added previously failed because a SelectInst with invalid operands was created (one side addrspace(4), the other addrspace(5)).
PointerReplacer needs to dig deeper if the true and/or false instructions of the select are not available.

Fixes SWDEV-542957

(cherry picked from commit f223411)

…erands (#148829)

The testcase I added previously failed because a SelectInst with invalid
operands was created (one side `addrspace(4)`, the other
`addrspace(5)`).
PointerReplacer needs to dig deeper if the true and/or false
instructions of the select are not available.

Fixes SWDEV-542957

(cherry picked from commit f223411)
@hvdijk hvdijk requested a review from a team as a code owner August 27, 2025 16:01
@hvdijk
Copy link
Contributor Author

hvdijk commented Aug 27, 2025

This is a cherry-pick of a commit on upstream LLVM. It would be nice to have this applied before the next pulldown, because the problem makes us unable to build SYCL-CTS for Native CPU.

@maksimsab
Copy link
Contributor

Who the best code reviewer could be? I think that Tools team doesn't have too much expertise in InstCombine.

@hvdijk
Copy link
Contributor Author

hvdijk commented Sep 1, 2025

It's a cherry-pick from upstream so I think it should probably be reviewed in the same way that pulldowns are. @sarnex, you merged #19716, would you be able to review this or know who would be able to?

Copy link
Contributor

@sarnex sarnex left a comment

Choose a reason for hiding this comment

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

lgtm assuming this is an exact cherry pick from upstream

@sarnex
Copy link
Contributor

sarnex commented Sep 2, 2025

@hvdijk is this ready for merge?

@hvdijk
Copy link
Contributor Author

hvdijk commented Sep 2, 2025

lgtm assuming this is an exact cherry pick from upstream

@hvdijk is this ready for merge?

It is, and it is, yes. Thanks!

@sarnex sarnex merged commit 72b85b6 into intel:sycl Sep 2, 2025
27 checks passed
@hvdijk hvdijk deleted the cherry-pick-148829 branch September 4, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants