-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@code_native fails on broadcast calls #31695
Comments
Notably; wrapping the broadcast call in another call works:
|
log.(X)
I could've sworn we had an issue for this, but I'm not finding it. It's similar to #20620 and affects all of the code_typed / code_warntype / code_llvm / code_native / edit / which / etc functionality. And it results in an UndefVarError in cases like: julia> @code_llvm [1] .+ [2]
ERROR: UndefVarError: .+ not defined In short, the lowering for broadcast is non-trivial and isn't a single function call:
I'm regularly building those
|
|
Using Julia
v1.1
:The text was updated successfully, but these errors were encountered: