[llvm] [RISCV] RISCV vector calling convention (2/2) (PR #79096)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 01:55:15 PST 2024
================
@@ -17839,9 +17823,13 @@ void RISCVTargetLowering::analyzeOutputArgs(
CallLoweringInfo *CLI, RISCVCCAssignFn Fn) const {
unsigned NumArgs = Outs.size();
- std::optional<unsigned> FirstMaskArgument;
- if (Subtarget.hasVInstructions())
- FirstMaskArgument = preAssignMask(Outs);
+ std::vector<Type *> TypeList;
+ if (IsRet)
+ TypeList.push_back(MF.getFunction().getReturnType());
+ else if (CLI)
----------------
arsenm wrote:
Braces
https://github.com/llvm/llvm-project/pull/79096
More information about the llvm-commits
mailing list