Skip to content

Commit e795b8b

Browse files
authored
[RISCV] Use GPR instead of ixlenimm for sextshamt in PseudoMaskedAMOMinMax. NFC (#171736)
This operand is always a register.
1 parent 18b6137 commit e795b8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoA.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ class PseudoMaskedAMO
270270

271271
class PseudoMaskedAMOMinMax
272272
: Pseudo<(outs GPR:$res, GPR:$scratch1, GPR:$scratch2),
273-
(ins GPR:$addr, GPR:$incr, GPR:$mask, ixlenimm:$sextshamt,
274-
ordering:$ordering), []> {
273+
(ins GPR:$addr, GPR:$incr, GPR:$mask, GPR:$sextshamt,
274+
ordering:$ordering), []> {
275275
let Constraints = "@earlyclobber $res,@earlyclobber $scratch1,"
276276
"@earlyclobber $scratch2";
277277
let mayLoad = 1;

0 commit comments

Comments
 (0)