[llvm] [RISCV] Declare TLSDESC clobbers for vector registers and CSRs per psABI (PR #205027)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 09:52:56 PDT 2026
jrtc27 wrote:
I mean, we _can_ make it platform-specific if we really want to, but that's generally best avoided unless absolutely necessary, and alignment with AArch64 is generally a good idea, which takes this approach (even if not implemented by LLVM... see #186500). RISC-V has enough oddities to its ABI already (and LoongArch copying them doesn't make them less odd) so I don't really want to gratuitously increase that, and when discussed in the psABI calls nobody seemed to feel this was a performance concern. It's a shame this concern is only being raised now after the psABI change was merged, though perhaps that highlights the potential issues that come from PoC patches being allowed by our psABI policy to exist only in forks, not required to be at least formally proposed as PRs to widen the potential set of reviewers.
https://github.com/llvm/llvm-project/pull/205027
More information about the llvm-commits
mailing list