Skip to content

Commit 1c95e65

Browse files
committed
fixup! Address comments regarding isCompressOnly
Change-Id: Ic093bf54ce1c726132e0ca10a08d99468a2e7487
1 parent 10039cf commit 1c95e65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,6 +1489,7 @@ def : CompressPat<(QC_E_SW GPR:$rs2, GPRMem:$rs1, simm12:$imm12),
14891489
let Predicates = [HasVendorXqcicm, IsRV32] in {
14901490
def : CompressPat<(QC_MVEQI GPRC:$rd, GPRC:$rd, 0, GPRC:$rs1),
14911491
(QC_C_MVEQZ GPRC:$rd, GPRC:$rs1)>;
1492+
let isCompressOnly = true in
14921493
def : CompressPat<(QC_MVLTUI GPRC:$rd, GPRC:$rd, 1, GPRC:$rs1),
14931494
(QC_C_MVEQZ GPRC:$rd, GPRC:$rs1)>;
14941495
}
@@ -1503,6 +1504,7 @@ def : CompressPat<(BSETI GPRC:$rs1, GPRC:$rs1, uimmlog2xlennonzero:$shamt),
15031504
(QC_C_BSETI GPRC:$rs1, uimmlog2xlennonzero:$shamt)>;
15041505
def : CompressPat<(BEXTI GPRC:$rs1, GPRC:$rs1, uimmlog2xlennonzero:$shamt),
15051506
(QC_C_BEXTI GPRC:$rs1, uimmlog2xlennonzero:$shamt)>;
1507+
let isCompressOnly = true in
15061508
def : CompressPat<(QC_EXTU GPRC:$rd, GPRC:$rd, 1, uimmlog2xlennonzero:$shamt),
15071509
(QC_C_BEXTI GPRC:$rd, uimmlog2xlennonzero:$shamt)>;
15081510
} // Predicates = [HasVendorXqcibm, HasStdExtZbs, IsRV32]

0 commit comments

Comments
 (0)