[llvm] [RISCV] Add short forward branch support for `min`, `max`, `maxu` and `minu` (PR #164394)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 21 22:59:02 PDT 2025
================
@@ -228,6 +232,18 @@ bool RISCVExpandPseudo::expandCCOp(MachineBasicBlock &MBB,
case RISCV::PseudoCCAND: NewOpc = RISCV::AND; break;
case RISCV::PseudoCCOR: NewOpc = RISCV::OR; break;
case RISCV::PseudoCCXOR: NewOpc = RISCV::XOR; break;
+ case RISCV::PseudoCCMAX:
----------------
topperc wrote:
We can add a clang-format off/on directive around the switch.
https://github.com/llvm/llvm-project/pull/164394
More information about the llvm-commits
mailing list