File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 55
66typedef typeof (sizeof (0 )) size_t ;
77
8- // CHECK-LABEL: define{{( dso_local)?}} i64 @test1(
8+ // CHECK-LABEL: define{{( dso_local)?}} i{{64|32}} @test1(
99// CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
1010// CHECK-NEXT: [[ENTRY:.*:]]
1111// CHECK-NEXT: [[ARRAY:%.*]] = alloca [12 x i32], align
12- // CHECK-NEXT: ret i64 12
12+ // CHECK-NEXT: ret i{{64|32}} 12
1313//
1414size_t test1 () {
1515 int array [12 ];
1616 return _Countof (array );
1717}
1818
19- // CHECK-LABEL: define{{( dso_local)?}} i64 @test2(
19+ // CHECK-LABEL: define{{( dso_local)?}} i{{64|32}} @test2(
2020// CHECK-SAME: ) #[[ATTR0]] {
2121// CHECK-NEXT: [[ENTRY:.*:]]
22- // CHECK-NEXT: ret i64 100
22+ // CHECK-NEXT: ret i{{64|32}} 100
2323//
2424size_t test2 () {
2525 return _Countof (float [100 ]);
You can’t perform that action at this time.
0 commit comments