Skip to content

Commit c611049

Browse files
committed
[RISCV] Use THShift_ri class instead of RVBShift_ri for TH_TST instruction. NFC
1 parent 68210c7 commit c611049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXTHead.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def TH_REVW : THRev_r<0b10010, 0b00, "th.revw">;
270270

271271
let Predicates = [HasVendorXTHeadBs], DecoderNamespace = "XTHeadBs",
272272
IsSignExtendingOpW = 1 in
273-
def TH_TST : RVBShift_ri<0b10001, 0b001, OPC_CUSTOM_0, "th.tst">,
273+
def TH_TST : THShift_ri<0b10001, 0b001, "th.tst">,
274274
Sched<[WriteSingleBitImm, ReadSingleBitImm]>;
275275

276276
let Predicates = [HasVendorXTHeadCondMov] in {

0 commit comments

Comments
 (0)