aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-09-22 11:04:22 +0200
committerNikita Popov <npopov@redhat.com>2022-09-22 15:46:00 +0200
commitc2e76f914c9ac0dd15e4a8040a5e277333f91f97 (patch)
tree89cb56bf9dee8a008f6ce0a488c42dea62eca62c /llvm/lib/CodeGen/MachineOperand.cpp
parentbabdef27c503c0bbbcc017e9f88affddda90ea4e (diff)
downloadllvm-c2e76f914c9ac0dd15e4a8040a5e277333f91f97.zip
llvm-c2e76f914c9ac0dd15e4a8040a5e277333f91f97.tar.gz
llvm-c2e76f914c9ac0dd15e4a8040a5e277333f91f97.tar.bz2
[InstCombine] Use simplifyWithOpReplaced() for non-bool selects
Perform the simplifyWithOpReplaced() fold even for non-bool selects. This subsumes a number of recently added folds for zext/sext of the condition. We still need to manually handle variations with both sext/zext and not, because simplifyWithOpReplaced() only performs one level of replacements.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions