[llvm] a10f5ab - [RISCV] Remove unneeded template parameter from ALU_ri. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 3 23:44:49 PDT 2024
Author: Craig Topper
Date: 2024-10-03T23:44:34-07:00
New Revision: a10f5abbd48953a77c39d8f9b356d49b58490351
URL: https://github.com/llvm/llvm-project/commit/a10f5abbd48953a77c39d8f9b356d49b58490351
DIFF: https://github.com/llvm/llvm-project/commit/a10f5abbd48953a77c39d8f9b356d49b58490351.diff
LOG: [RISCV] Remove unneeded template parameter from ALU_ri. NFC
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInstrInfo.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.td b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
index a2f1e3ded18fe0..a2c92154f00ddb 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
@@ -549,8 +549,8 @@ class HStore_rr<bits<7> funct7, string opcodestr>
}
let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
-class ALU_ri<bits<3> funct3, string opcodestr, DAGOperand rty = GPR>
- : RVInstI<funct3, OPC_OP_IMM, (outs rty:$rd), (ins rty:$rs1, simm12:$imm12),
+class ALU_ri<bits<3> funct3, string opcodestr>
+ : RVInstI<funct3, OPC_OP_IMM, (outs GPR:$rd), (ins GPR:$rs1, simm12:$imm12),
opcodestr, "$rd, $rs1, $imm12">,
Sched<[WriteIALU, ReadIALU]>;
More information about the llvm-commits
mailing list