[llvm] [LoongArch] Pass 'half' in the lower 16 bits of an f32 value with F/D ABI (PR #109368)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 02:50:28 PDT 2024
nikic wrote:
Are you aware of https://github.com/llvm/llvm-project/issues/97981? This was recently fixed by https://github.com/llvm/llvm-project/pull/107791 and it sounds like you want to un-fix it? It's my understanding that for half it's preferred to use GPR rather than FPR for the call ABI, if you do not have ABI requirements to the contrary.
Note that there is also the useFPRegsForHalfType() hook.
https://github.com/llvm/llvm-project/pull/109368
More information about the llvm-commits
mailing list