-
Notifications
You must be signed in to change notification settings - Fork 612
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
Plumb i1
datatype through the compilation pipeline
#18483
Comments
which looks okay but |
Hacked a little bit the tile config, the pipeline can now emit bytecode without issues. Checked narrow byte emulation:
after:
seems okay. |
IR Dump after
|
Considering that before we lower to stream dialect, we ensure the size of total bytes in the case of @benvanik just want to check with you if this is sound, and perhaps any remarks on where to make it happen? |
We need an encoding attribute that preserves the existing behavior (so that we can interop with frontends that expect i1 to be stored unpacked in i8). For all other cases we should be able to remove the special case |
We could also change the frontends to lower to i8+casts for 8bit bools. I think this was just an error from the dawn of time to alias these things. |
Agreed :) |
Targeting a very simplistic function:
compile with:
Don't forget this patch:
The text was updated successfully, but these errors were encountered: