[clang] [llvm] [RISCV] Inline Assembly Support for GPR Pairs ('Pr') (PR #112983)

Pengcheng Wang via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 29 06:09:52 PDT 2024


================
@@ -2224,6 +2231,17 @@ bool RISCVTargetLowering::isExtractSubvectorCheap(EVT ResVT, EVT SrcVT,
   return Index == 0 || Index == ResElts;
 }
 
+EVT RISCVTargetLowering::getAsmOperandValueType(const DataLayout &DL, Type *Ty,
+                                                bool AllowUnknown) const {
+  if (!Subtarget.is64Bit() && Ty->isIntegerTy(64))
----------------
wangpc-pp wrote:

isRV32()?

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


More information about the cfe-commits mailing list