[compiler-rt] [compiler-rt][RISC-V] ILP32E/LP64E Save/Restore Grouping (PR #95398)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 04:59:30 PDT 2024
jrtc27 wrote:
https://github.com/gcc-mirror/gcc/commit/09baee1ab152afb0466c00ce87f0d681f2a50e21 is the original GCC commit that introduced this ABI. I don't see any justification for this, but haven't trawled mailing lists. Given part of the point of RVE is to save memory, it's odd to always burn the stack space for the sake of a few extra instructions in the libcalls, but it's probably also true that you often need the saved registers. I think we need to form cross-toolchain consensus, write it down in the toolchain conventions document and go with that, whichever it is.
CC @kito-cheng as co-author of the patch in question.
https://github.com/llvm/llvm-project/pull/95398
More information about the llvm-commits
mailing list