[llvm] [GISel][RISCV]Implement indirect parameter passing for large scalars (PR #95429)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 10:17:36 PDT 2024
================
@@ -751,6 +751,7 @@ bool CallLowering::handleAssignments(ValueHandler &Handler,
const LLT NewLLT = Handler.isIncomingArgumentHandler() ? LocTy : ValTy;
const EVT OrigVT = EVT::getEVT(Args[i].Ty);
const LLT OrigTy = getLLTForType(*Args[i].Ty, DL);
+ const LLT PointerTy = LLT::pointer(0, DL.getPointerSizeInBits(0));
----------------
michaelmaitland wrote:
nit: `PointerTy` is not used on all code paths reachable from here. Should we sink it onto the code paths that it is used by?
https://github.com/llvm/llvm-project/pull/95429
More information about the llvm-commits
mailing list