[llvm] [RISCV] Share ArgGPRs array between SelectionDAG and GISel. (PR #74152)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 3 20:10:31 PST 2023


================
@@ -986,6 +986,9 @@ bool CC_RISCV_FastCC(const DataLayout &DL, RISCVABI::ABI ABI, unsigned ValNo,
 bool CC_RISCV_GHC(unsigned ValNo, MVT ValVT, MVT LocVT,
                   CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
                   CCState &State);
+
+ArrayRef<MCPhysReg> getArgGPRs();
----------------
wangpc-pp wrote:

And if we want to determine register list via ABI, we may need ABI parameter?

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


More information about the llvm-commits mailing list