Skip to content

Test BFloat16 broadcast subtraction.#202

Merged
maleadt merged 1 commit into
mainfrom
tb/fix
Apr 27, 2026
Merged

Test BFloat16 broadcast subtraction.#202
maleadt merged 1 commit into
mainfrom
tb/fix

Conversation

@maleadt
Copy link
Copy Markdown
Member

@maleadt maleadt commented Apr 27, 2026

The .- broadcast on BFloat16 tiles routes through BFloat16s' -(x, y) = Base.sub_float(x, y), which Julia inlines as a literal IntrinsicFunction in args[1] rather than a GlobalRef. Exercises canonicalize's intrinsic lowering on that callee form (fixed in maleadt/IRStructurizer.jl#35).

The .- broadcast on BFloat16 tiles routes through BFloat16s' `-(x, y) =
Base.sub_float(x, y)`, which Julia inlines as a literal IntrinsicFunction
in args[1] rather than a GlobalRef. Exercises canonicalize's intrinsic
lowering on that callee form (fixed in IRStructurizer 0.5.7).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@maleadt maleadt merged commit 3a17351 into main Apr 27, 2026
13 checks passed
@maleadt maleadt deleted the tb/fix branch April 27, 2026 13:49
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.

1 participant