aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorPierre van Houtryve <pierre.vanhoutryve@amd.com>2025-07-16 09:32:05 +0200
committerGitHub <noreply@github.com>2025-07-16 09:32:05 +0200
commitf223411e2e005ecd54523801db603b54d69f3159 (patch)
tree44eeb8507334a8701a9c5c2bfd1802f5c927f611 /llvm/lib/CodeGen/CodeGen.cpp
parentafe81507809fb845ee3368291adaa9671e6732c0 (diff)
downloadllvm-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