[llvm] [RISCV][Xqcilo] Load/Store Pseudos (PR #134931)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 14:53:03 PDT 2025


================
@@ -1186,6 +1186,23 @@ def PseudoLongQC_E_BGEI : LongBcciPseudo<simm16nonzero, 10>;
 def PseudoLongQC_E_BLTUI : LongBcciPseudo<uimm16nonzero, 10>;
 def PseudoLongQC_E_BGEUI : LongBcciPseudo<uimm16nonzero, 10>;
 
+// Load/Store predicates with QC.E.* Mnemonics. These expand to an AUIPC +
+// (Standard) Load/Store pairs, as this sequence can materialize all 32-bit
+// addresses, and is shorter than e.g. an AUIPC + Xqcilo Load/Store pair.
+// These pairs can be turned back into Xqcilo instructions using linker
----------------
topperc wrote:

I guess we do need pairs since this sentence says "pair" but maybe we can find a different word?

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


More information about the llvm-commits mailing list