diff options
author | Yeting Kuo <46629943+yetingk@users.noreply.github.com> | 2023-11-29 13:09:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 13:09:47 +0800 |
commit | f35c0f2f232a0b298a35bfb0047bf8a00b107bf0 (patch) | |
tree | 2921bd8889861a6d16d73e7bc8990720ca863c98 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c954414c0a0b55ad747d5d526100314ecc352c32 (diff) | |
download | llvm-f35c0f2f232a0b298a35bfb0047bf8a00b107bf0.zip llvm-f35c0f2f232a0b298a35bfb0047bf8a00b107bf0.tar.gz llvm-f35c0f2f232a0b298a35bfb0047bf8a00b107bf0.tar.bz2 |
[RISCV] Refine pattern (select_cc seteq (and x, C), 0, 0, A) with Zbs. (#73746)
PR #72978 disabled transformation (select_cc seteq (and x, C), 0, 0, A)
-> (and (sra(shl x)), A) for better Zicond codegen. It still enables the
combine when C is not fit into 12-bits. This patch disables the combine
when Zbs enabled.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions