[llvm] [RISCV] Add isel patterns for generating XAndesPerf branch immediate instructions (PR #145147)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 26 08:18:17 PDT 2025


================
@@ -1400,6 +1424,12 @@ bool RISCVInstrInfo::reverseBranchCondition(
   case RISCV::QC_E_BLTUI:
     Cond[0].setImm(RISCV::QC_E_BGEUI);
     break;
+  case RISCV::NDS_BBC:
----------------
topperc wrote:

Do we need to add BEQC/BNEC here?

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


More information about the llvm-commits mailing list