[llvm] [RISCV] Add Xqcibi Select_GPR_Using_CC_<Imm> Pseudos to isSelectPseudo (PR #140698)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 09:04:09 PDT 2025


================
@@ -21355,11 +21355,11 @@ RISCVTargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
            "ReadCounterWide is only to be used on riscv32");
     return emitReadCounterWidePseudo(MI, BB);
   case RISCV::Select_GPR_Using_CC_GPR:
-  case RISCV::Select_GPR_Using_CC_SImm5:
-  case RISCV::Select_GPR_Using_CC_SImm5NonZero:
-  case RISCV::Select_GPR_Using_CC_UImm5NonZero:
-  case RISCV::Select_GPR_Using_CC_SImm16NonZero:
-  case RISCV::Select_GPR_Using_CC_UImm16NonZero:
+  case RISCV::Select_GPR_Using_CV_CC_SImm5:
----------------
topperc wrote:

Really it should be at the beginning like all other vendor specific instructions, but I think that's hard to do with the way the multiclass is concatenating `NAME`.

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


More information about the llvm-commits mailing list