about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/nonterminal.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-08-06 08:57:14 +0000
committerTrevor Gross <tmgross@umich.edu>2025-08-07 15:34:49 -0500
commitcdb299c0d8463d7e66b680e93c8d0d7258fc7643 (patch)
tree31ccb4f6ccd05cfafa39de81f0bf6d4a845a2b47 /compiler/rustc_parse/src/parser/nonterminal.rs
parentdc0bae1db725fbba8524f195f74f680995fd549e (diff)
downloadrust-cdb299c0d8463d7e66b680e93c8d0d7258fc7643.tar.gz
rust-cdb299c0d8463d7e66b680e93c8d0d7258fc7643.zip
Enable f16 and f128 on targets that were fixed in LLVM21
LLVM21 fixed the new float types on a number of targets:

* SystemZ gained f16 support
  https://github.com/llvm/llvm-project/pull/109164
* Hexagon now uses soft f16 to avoid recursion bugs
  https://github.com/llvm/llvm-project/pull/130977
* Mips now correctly handles f128 (actually since LLVM20)
  https://github.com/llvm/llvm-project/pull/117525
* f128 is now correctly aligned when passing the stack on x86
  https://github.com/llvm/llvm-project/pull/138092

Thus, enable the types on relevant targets for LLVM > 21.0.0.

NVPTX also gained handling of f128 as a storage type, but it lacks
support for basic math operations so is still disabled here.
Diffstat (limited to 'compiler/rustc_parse/src/parser/nonterminal.rs')
0 files changed, 0 insertions, 0 deletions