llvm-project
246a64a1 - [Clang] Rename HasLegalHalfType -> HasFastHalfType (NFC) (#153163)

Commit
123 days ago
[Clang] Rename HasLegalHalfType -> HasFastHalfType (NFC) (#153163) This option is confusingly named. What it actually controls is whether, under the default of `-ffloat16-excess-precision=standard`, it is beneficial for performance to perform calculations on float (without intermediate rounding) or not. For `-ffloat16-excess-precision=none` the LLVM `half` type will always be used, and all backends are expected to legalize it correctly.
Author
Parents
Loading