[llvm] [RISCV] Add short forward branch support for `min`, `max`, `maxu` and `minu` (PR #164394)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 21 21:51:32 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:
----------------
hchandel wrote:

Yes, the changes were made by clang-format. When I had the changes consistent with the coding style here, Then PR check of clang-format failed.

https://github.com/llvm/llvm-project/pull/164394


More information about the llvm-commits mailing list