Skip to content

Commit 361a44c

Browse files
committed
Apply suggestion
Created using spr 1.3.5
1 parent 7dc9324 commit 361a44c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/lib/Target/Sparc/SparcInstrFormats.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,15 @@ class F3_3c<bits<2> opVal, bits<6> op3val, bits<9> opfval, dag outs, dag ins,
205205
class F3_3_siam<bits<2> opVal, bits<6> op3val, bits<9> opfval, dag outs, dag ins,
206206
string asmstr, list<dag> pattern, InstrItinClass itin = NoItinerary>
207207
: F3<outs, ins, asmstr, pattern, itin> {
208-
bits<3> uimm3;
208+
bits<3> mode;
209209

210210
let op = opVal;
211211
let op3 = op3val;
212212
let rd = 0;
213213
let rs1 = 0;
214214
let Inst{13-5} = opfval; // fp opcode
215215
let Inst{4-3} = 0;
216-
let Inst{2-0} = uimm3;
216+
let Inst{2-0} = mode;
217217
}
218218

219219
// Shift by register rs2.

llvm/lib/Target/Sparc/SparcInstrVIS.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def BSHUFFLE : VISInst<0b001001100, "bshuffle">;
167167

168168
let rd = 0, rs1 = 0 in
169169
def SIAM : F3_3_siam<0b10, 0b110110, 0b010000001, (outs),
170-
(ins i32imm:$uimm3), "siam $uimm3", []>;
170+
(ins i32imm:$mode), "siam $mode", []>;
171171

172172
def EDGE8N : VISInst<0b000000001, "edge8n", I64Regs>;
173173
def EDGE8LN : VISInst<0b000000011, "edge8ln", I64Regs>;

0 commit comments

Comments
 (0)