[llvm] [RISCV] Declare TLSDESC clobbers for vector registers and CSRs per psABI (PR #205027)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 12 19:20:00 PDT 2026


LukeZhuang wrote:

> A couple of other points:
> 
> 1. The final commit message will be the PR description, but that seems to be outdated compared with the commit message of your one commit (and given the above comment about force-pushing it's fine to have the PR's commits use stale messages, so long as the PR description is up-to-date)
> 2. I'm not sure what "Per the RISC-V psABI, the TLSDESC resolver clobbers a0 and t0 in the base case. By the new ABI updates [...]" is quite trying to say. Specifically, what is "the base case"? I can come up with my own wording to explain the change if you like, but maybe you'd like to propose something else in your own words rather than have me put words into your mouth?

Thanks @jrtc27 for the guidance, sorry for not reading the official contribution guide carefully, I would keep that in mind in the future :)
For the PR itself, I've polished the description here(and left the commit message in my own branch unchanged, which should be unnecessary if I understand correctly).

https://github.com/llvm/llvm-project/pull/205027


More information about the llvm-commits mailing list