Skip to content

fix clang dbg : disable builtin bf16 type#2631

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_785855552
Jul 23, 2025
Merged

fix clang dbg : disable builtin bf16 type#2631
copybara-service[bot] merged 1 commit intomasterfrom
test_785855552

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

fix clang dbg : disable builtin bf16 type

@copybara-service copybara-service bot force-pushed the test_785855552 branch 2 times, most recently from 3cb4dba to e32562d Compare July 23, 2025 13:28
PiperOrigin-RevId: 786261938
@copybara-service copybara-service bot merged commit b24cc16 into master Jul 23, 2025
1 check passed
@copybara-service copybara-service bot deleted the test_785855552 branch July 23, 2025 13:44
@johnplatts
Copy link
Copy Markdown
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.

@jan-wassenberg
Copy link
Copy Markdown
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
copybara-service bot pushed a commit that referenced this pull request Aug 4, 2025
copybara-service bot pushed a commit that referenced this pull request Aug 4, 2025
@johnplatts
Copy link
Copy Markdown
Contributor

johnplatts commented Oct 24, 2025

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants