[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:14 PST 2024
================
@@ -18743,17 +18732,16 @@ bool RISCVTargetLowering::CanLowerReturn(
SmallVector<CCValAssign, 16> RVLocs;
CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, Context);
- std::optional<unsigned> FirstMaskArgument;
- if (Subtarget.hasVInstructions())
- FirstMaskArgument = preAssignMask(Outs);
+ std::vector<Type *> TypeList = {MF.getFunction().getReturnType()};
----------------
arsenm wrote:
Don't need vector?
https://github.com/llvm/llvm-project/pull/79096
More information about the llvm-commits
mailing list