[llvm] [RISCV] Handle RVV return type in calling convention correctly (PR #87736)
Brandon Wu via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 01:26:41 PDT 2024
================
@@ -1059,7 +1062,7 @@ class RVVArgDispatcher {
unsigned CurIdx = 0;
- void constructArgInfos(ArrayRef<Type *> TypeList);
+ template <typename Arg> void constructArgInfos(ArrayRef<Arg> Ret);
----------------
4vtomat wrote:
The reason I used template here is that `Arg == ISD::OutputArg` and `Arg == ISD::InputArg` use exact same code and it doesn't need to copy the code. Or is there any other way I can do so?
https://github.com/llvm/llvm-project/pull/87736
More information about the llvm-commits
mailing list