[llvm] [RISCV] Add some compress patterns for Xqci instructions (PR #139273)

Sudharsan Veeravalli via llvm-commits llvm-commits at lists.llvm.org
Fri May 9 18:31:49 PDT 2025


================
@@ -1415,14 +1415,12 @@ def : CompressPat<(BEXTI GPRC:$rs1, GPRC:$rs1, uimmlog2xlennonzero:$shamt),
                   (QC_C_BEXTI GPRC:$rs1, uimmlog2xlennonzero:$shamt)>;
 } // Predicates = [HasVendorXqcibm, HasStdExtZbs, IsRV32]
 
-let Predicates = [HasVendorXqcilb, IsRV32] in {
+let isCompressOnly = true, inPredicates = [HasVendorXqcilb, IsRV32] in {
----------------
svs-quic wrote:

Yeah noticed that and have already pushed a commit fixing it.

https://github.com/llvm/llvm-project/pull/139273


More information about the llvm-commits mailing list