Repository navigation
Conversation
josiahls
force-pushed
the
fix/simd-assertion-checks
branch
2 times, most recently
from
April 3, 2026 22:58
c299114 to
658ae92
Compare
Contributor
Author
|
cc @NathanSWard Basically this pr isn't going to be mergable until an API change or compiler fix. |
josiahls
force-pushed
the
fix/simd-assertion-checks
branch
2 times, most recently
from
April 3, 2026 23:11
ce1d83c to
9cd34e3
Compare
Note, currently @always_inline("builtin") basically strips the
asserts out of the code.
Issue: modular#6349
josiahls
force-pushed
the
fix/simd-assertion-checks
branch
from
April 3, 2026 23:23
9cd34e3 to
7a0a9a0
Compare
josiahls
marked this pull request as ready for review
April 3, 2026 23:23
Contributor
|
@josiahls sorry this has been sitting a while, the main bug is tracked separately in #6349 and we now reject non-power-of-two SIMD widths so this test no longer shows the no-op check c.f. e46710e We're working to better handle OSS contributions in this post 1.0 era and hope to receive many more PRs from you, thank you for your patience here! |
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.
Note, currently @always_inline("builtin") basically strips the asserts out of the code.
Summary
SIMD
_simd_construction_checksis noop due to@always_inline("builtin")When you run the test, you will notice that
_simd_construction_checksisn't the thing that fails.Testing
I have a compile fail test that demos this.
Checklist
sequence of smaller PRs
./bazelw run formatto format my changes