[llvm] [RISCV] Add compress patterns for Xqcilia instructions with tied-operands (PR #147242)
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 7 08:05:58 PDT 2025
================
@@ -10,10 +10,14 @@
# RUN: | llvm-objdump --mattr=+experimental-xqcilia --no-print-imm-hex -d - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
+.option exact
+
# CHECK-INST: qc.e.addai s1, -1
# CHECK-ENC: encoding: [0x9f,0x24,0xff,0xff,0xff,0xff]
qc.e.addai x9, 4294967295
+.option noexact
----------------
lenary wrote:
Can you just turn exact mode off once, rather than around every instruction that "needs" it. i.e. the whole file should be like this
```
.option exact
<instruction testcases without compression>
.option noexact
<instruction testcases with compression>
```
https://github.com/llvm/llvm-project/pull/147242
More information about the llvm-commits
mailing list