-
-
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
fix isbits predicate #25044
Comments
Example(s)? |
@vtjnash: please define what your notion of "correct" is in this case. I've noticed that your definitions are not always what I would consider intuitive. |
Master is the only version where this is broken. It was correct on all our releases. |
Yes, but previously |
|
Are tuples of bits types also bits types? Again, that definition was written before we had the ability to represent simple unions as "just bits". Yes, we could just leave it as is, but should we? |
simple unions aren't represented as "just bits", they use a special layout and don't map to a C type |
They do map to C unions if you ignore the selector bits, which are not in the "main" part of the value. |
Right now, it returns wrong answers. Also, we should look into fixing the
isleaftype
predicate.The text was updated successfully, but these errors were encountered: