[intermediate representation] fixed some bugs

This commit is contained in:
Philippe Tillet
2019-01-04 01:43:02 -05:00
parent 88504ca172
commit f131ebb0bc
12 changed files with 55 additions and 31 deletions

View File

@@ -15,11 +15,14 @@ const char src[] =
"\
void test(fp32 *A, fp32 *B, fp32 *C, int32 i){\
int32 j = 1;\
int32 test[16, 16] = 0;\
int32 test2[16, 16];\
int32 test3[16, 16];\
int32 k;\
test = test2 + test3;\
i = i + j;\
for(k = 0; k < 10; k = k+1){\
int32 u = 1;\
u = u + i;\
if(k == 0)\
u = u + 2;\
}\
}\
";