fix clang dbg : disable builtin bf16 type#2631
Merged
copybara-service[bot] merged 1 commit intomasterfrom Jul 23, 2025
Merged
Conversation
3cb4dba to
e32562d
Compare
PiperOrigin-RevId: 786261938
e32562d to
b24cc16
Compare
Contributor
|
@jan-wassenberg This bug that occurs in Clang debug builds with the __bf16 type on x86 turns out to be an LLVM codegen bug that has been reported at llvm/llvm-project#151692. |
Member
|
Thanks @johnplatts for sending the report! Will add a link in the code. |
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 4, 2025
PiperOrigin-RevId: 790634737
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 4, 2025
PiperOrigin-RevId: 790634737
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 4, 2025
PiperOrigin-RevId: 790639058
Contributor
|
@jan-wassenberg There is now a fix for the LLVM BF16 bug on x86, and it is now safe to re-enable the builtin BF16 type in debug builds with Clang 22 and later (with the recent BF16 bug fix applied). Pull request #2781 re-enables the builtin BF16 type in debug builds on x86 with Clang 22 and later due to the recent bug fix in LLVM 22. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix clang dbg : disable builtin bf16 type