[clang] [llvm] [RISCV] Add Qualcomn uC Xqcili (load large immediates) extension (PR #130012)

Sudharsan Veeravalli via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 6 08:12:25 PST 2025


================
@@ -588,6 +590,19 @@ let Predicates = [HasVendorXqcilo, IsRV32] in {
   def QC_E_SW    : QCIRVInstESStore<0b110, 0b11, "qc.e.sw">;
 } // Predicates = [HasVendorXqcilo, IsRV32]
 
+let Predicates = [HasVendorXqcili, IsRV32] in {
+let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in {
+  def QC_LI : RVInstU<RISCVOpcode<"QC_LI",0b0011011>, (outs GPRNoX0:$rd), (ins simm20:$imm20),
----------------
svs-quic wrote:

This can be OPC_OP_IMM_32?

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


More information about the cfe-commits mailing list