-
Notifications
You must be signed in to change notification settings - Fork 21
1-bit types consume one byte of space, not zero #180
1-bit types consume one byte of space, not zero #180
Conversation
Note that there's at least one other example of this type of division which may want to be fixed. Seemed out of scope for this PR though. |
Very nice catch! If this fixes the test, then |
@shepmaster Looks like the test is still failing (as it was previously), by looking at the travis CI output. |
Hmm. This is what I ran locally:
And that produced an object file. Any pointers on how to execute that test locally in the normal way? |
If I run this:
I get this error:
Perhaps the test is (now incorrectly) failing because of this? |
Integer division was rounding off `i1` to take 0 bytes. Closes avr-llvm#173
73671bd
to
29f9ff0
Compare
I changed up the test a bit; let's see how that flows. |
Perhaps we should be using |
You're right - we need to have at least one It would suffice to have |
Also, you can manually run the LLVM integrated tester yourself, which will invoke the
It will execute the test. Also pass |
Yup, I did that and pushed the code again and it's passed (
I was having issues with that, getting errors like |
1-bit types consume one byte of space, not zero
Integer division was rounding off
i1
to take 0 bytes.Closes #173