-
Notifications
You must be signed in to change notification settings - Fork 53
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
--check-bounds=no
results in invalid IR with AMDGPU
#387
Comments
Turns out, this is probably AMDGPU's issue, as it passes I'll close it here. |
LLVM.jl has versions of these functions taking a Val argument: https://github.com/maleadt/LLVM.jl/blob/9f9d2faee81f907343ddf2d27eab12fa836e5cd4/src/interop/pointer.jl#L84-L85 That said, an in valid IR error is unlikely to be a compiler issue, or at least not straight away. It's more likely that the const-prop of |
The reason is of course |
On Julia 1.9-beta3 setting
--check-bounds=no
results in invalid IR.Note, that
@inbounds
works.Launch below MWE with
--check-bounds=no
:Error:
The text was updated successfully, but these errors were encountered: