summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/TextAPIError.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-07-25 09:00:13 -0700
committerCraig Topper <craig.topper@sifive.com>2023-07-25 09:03:45 -0700
commit5ff5dac8528ac23a006a1cec250e338c1185499a (patch)
tree19ce7ce3c44db3a5c407a853061cb8ed82a8a1f3 /llvm/lib/TextAPI/TextAPIError.cpp
parente17882430e5c243c7244dadcd0a6b5cce2219386 (diff)
[RISCV] Add simple DAG combine to pull xor with 1 through select_cc.
If we're selecting the result of two setccs that have been legalized by introducing an xor with 1, we can pull the xor with 1 through the select to enable more optimizations. We could generalize this to other binary operators with identical conditions, but those are usually caught before we legalize the select. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D156144
Diffstat (limited to 'llvm/lib/TextAPI/TextAPIError.cpp')
0 files changed, 0 insertions, 0 deletions