aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorRyan Buchner <92571492+bababuck@users.noreply.github.com>2025-07-03 12:27:09 -0700
committerGitHub <noreply@github.com>2025-07-03 15:27:09 -0400
commitbe762b7b7d60f47ab75e81942c8899331d89f141 (patch)
tree462e6ccf0f437776b95159cc114413e6675c578c /clang/lib/CodeGen/CodeGenFunction.cpp
parentea88634764f832285eba11e86a54b1c5e07a72c8 (diff)
downloadllvm-be762b7b7d60f47ab75e81942c8899331d89f141.zip
llvm-be762b7b7d60f47ab75e81942c8899331d89f141.tar.gz
llvm-be762b7b7d60f47ab75e81942c8899331d89f141.tar.bz2
[RISCV] Efficiently lower (select cond, u, rot[r/l](u, rot.amt)) using zicond extension (#143768)
The following lowerings now occur: (select cond, u, rotr(u, rot.amt)) -> (rotr u, (czero_nez rot.amt, cond)) (select cond, rotr(u, rot.amt), u) -> (rotr u, (czero_eqz rot.amt, cond)) (select cond, u, rotl(u, rot.amt)) -> (rotl u, (czero_nez rot.amt, cond)) (select cond, rotl(u, rot.amt), u) -> (rotl u, (czero_eqz rot.amt, cond))
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions