[clang] [clang] Add `__bf16` Type Support Macros With Literal Suffix Support (PR #134214)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 3 05:01:01 PDT 2025
================
@@ -96,7 +96,7 @@ static void AddImplicitIncludePCH(MacroBuilder &Builder, Preprocessor &PP,
template <typename T>
static T PickFP(const llvm::fltSemantics *Sem, T IEEEHalfVal, T IEEESingleVal,
T IEEEDoubleVal, T X87DoubleExtendedVal, T PPCDoubleDoubleVal,
- T IEEEQuadVal) {
+ T BFloatVal, T IEEEQuadVal) {
----------------
AaronBallman wrote:
I think it makes sense for bfloat to go next to half so that the order continues to go from smallest to largest.
https://github.com/llvm/llvm-project/pull/134214
More information about the cfe-commits
mailing list