aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorYeting Kuo <46629943+yetingk@users.noreply.github.com>2023-11-29 13:09:47 +0800
committerGitHub <noreply@github.com>2023-11-29 13:09:47 +0800
commitf35c0f2f232a0b298a35bfb0047bf8a00b107bf0 (patch)
tree2921bd8889861a6d16d73e7bc8990720ca863c98 /clang/lib/CodeGen/CodeGenModule.cpp
parentc954414c0a0b55ad747d5d526100314ecc352c32 (diff)
downloadllvm-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