diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2025-07-16 09:32:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-16 09:32:05 +0200 |
commit | f223411e2e005ecd54523801db603b54d69f3159 (patch) | |
tree | 44eeb8507334a8701a9c5c2bfd1802f5c927f611 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | afe81507809fb845ee3368291adaa9671e6732c0 (diff) | |
download | llvm-f223411e2e005ecd54523801db603b54d69f3159.zip llvm-f223411e2e005ecd54523801db603b54d69f3159.tar.gz llvm-f223411e2e005ecd54523801db603b54d69f3159.tar.bz2 |
[InstCombine]PtrReplacer: Correctly handle select with unavailable operands (#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
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions