Update IR's helper functions

This commit is contained in:
Jeehoon Kang
2020-04-11 12:20:53 +09:00
parent 6edb4665c0
commit 72ec63ea82
19 changed files with 505 additions and 125 deletions

7
examples/shift.c Normal file
View File

@@ -0,0 +1,7 @@
int main() {
char a = -1;
char b = a << 1;
unsigned char c = (unsigned char)b >> 1;
return b == -2 && c == 0x7F;
}