summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/TextAPIError.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-07-25 09:13:24 -0700
committerCraig Topper <craig.topper@sifive.com>2023-07-25 09:13:24 -0700
commitf6dc75cdd8756a8faa36b6f2e0d517eb8464c396 (patch)
treec725b7c00951887ecf9f11462c8a93e913953ccd /llvm/lib/TextAPI/TextAPIError.cpp
parentb34a8b3a5207965f13fd3a700bad612a3afe5867 (diff)
[RISCV] Add DAG combine to pull xor with 1 through select idiom that uses czero_eqz/nez.
If we are selecting between two setccs that need to be legalized with xor, the select will be legalized first. Detect this pattern so we can pull the xor through to expose it to additional optimizations. We could generalize this to other operations, but those normally get handled in DAG combine before select legalization. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D156159
Diffstat (limited to 'llvm/lib/TextAPI/TextAPIError.cpp')
0 files changed, 0 insertions, 0 deletions