diff options
author | Trevor Gross <tmgross@umich.edu> | 2025-08-09 22:39:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-10 11:39:27 +0800 |
commit | 733fddb6f41ad19d11f4897aa3ac9fd5c00e9611 (patch) | |
tree | d337639d8514a3fc2f11490873b2240be9ef0a88 /llvm/lib/MC/MCDisassembler/MCRelocationInfo.cpp | |
parent | 72a1fd1b43ac4d267d986c87c4e38f91b5bd872d (diff) | |
download | llvm-733fddb6f41ad19d11f4897aa3ac9fd5c00e9611.zip llvm-733fddb6f41ad19d11f4897aa3ac9fd5c00e9611.tar.gz llvm-733fddb6f41ad19d11f4897aa3ac9fd5c00e9611.tar.bz2 |
[AVR] Change `half` to use `softPromoteHalfType` (#152783)
The default `half` legalization has some issues with quieting NaNs and
carrying excess precision. As has been done for various other targets,
update AVR to use `softPromoteHalfType` which avoids these issues.
The most obvious corrected test below is `test_load_store`, which no
longer contains calls to extend and trunc (this passing through libcalls
means that `f16` does not round trip).
Fixes the AVR part of https://github.com/llvm/llvm-project/issues/97975
Fixes the AVR part of https://github.com/llvm/llvm-project/issues/97981
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/MCRelocationInfo.cpp')
0 files changed, 0 insertions, 0 deletions