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

Sudharsan Veeravalli via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 21:26:04 PDT 2025


================
@@ -1646,12 +1646,12 @@ let Predicates = [HasStdExtC, OptForMinSize] in {
   def : SelectCompressOpt<SETNE>;
 }
 
-multiclass SelectCC_GPR_riirr<DAGOperand valty, DAGOperand imm> {
+multiclass SelectCC_GPR_riirr<DAGOperand outvalty, DAGOperand invalty, DAGOperand imm> {
   let usesCustomInserter = 1 in
   def Select_GPR_Using_ # NAME
-      : Pseudo<(outs valty:$dst),
-               (ins GPR:$lhs, imm:$imm, cond_code:$cc,
----------------
svs-quic wrote:

I wasn't sure if there would be cases in future where this would differ. Have made the change to just use valty.

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


More information about the llvm-commits mailing list