File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -365,11 +365,13 @@ void AMDGPUTargetInfo::setAuxTarget(const TargetInfo *Aux) {
365365 // not supported by AMDGPU. 128-bit floating point format is also not
366366 // supported by AMDGPU. Therefore keep its own format for these two types.
367367 auto SaveLongDoubleFormat = LongDoubleFormat;
368+ auto SaveBFloat16Format = BFloat16Format;
368369 auto SaveFloat128Format = Float128Format;
369370 auto SaveLongDoubleWidth = LongDoubleWidth;
370371 auto SaveLongDoubleAlign = LongDoubleAlign;
371372 copyAuxTarget (Aux);
372373 LongDoubleFormat = SaveLongDoubleFormat;
374+ BFloat16Format = SaveBFloat16Format;
373375 Float128Format = SaveFloat128Format;
374376 LongDoubleWidth = SaveLongDoubleWidth;
375377 LongDoubleAlign = SaveLongDoubleAlign;
You can’t perform that action at this time.
0 commit comments