[llvm] [RISCV] Add some more compress patterns for Xqcilo instructions (PR #138309)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri May 2 10:04:19 PDT 2025


================
@@ -1330,6 +1330,19 @@ def : Pat<(riscv_mileaveret_glue), (QC_C_MILEAVERET)>;
 //===----------------------------------------------------------------------===//
 
 let isCompressOnly = true, Predicates = [HasVendorXqcilo, IsRV32] in {
+let Predicates = [HasStdExtZcb] in {
----------------
topperc wrote:

This overrides the outer `Predicates`. It doesn't concatenate.

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


More information about the llvm-commits mailing list