[all-commits] [llvm/llvm-project] be762b: [RISCV] Efficiently lower (select cond, u, rot[r/l...
Ryan Buchner via All-commits
all-commits at lists.llvm.org
Thu Jul 3 12:27:30 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be762b7b7d60f47ab75e81942c8899331d89f141
https://github.com/llvm/llvm-project/commit/be762b7b7d60f47ab75e81942c8899331d89f141
Author: Ryan Buchner <92571492+bababuck at users.noreply.github.com>
Date: 2025-07-03 (Thu, 03 Jul 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/zicond-opts.ll
Log Message:
-----------
[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))
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list