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 5
5
6
6
typedef typeof (sizeof (0 )) size_t ;
7
7
8
- // CHECK-LABEL: define{{( dso_local)?}} i64 @test1(
8
+ // CHECK-LABEL: define{{( dso_local)?}} i{{64|32}} @test1(
9
9
// CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
10
10
// CHECK-NEXT: [[ENTRY:.*:]]
11
11
// CHECK-NEXT: [[ARRAY:%.*]] = alloca [12 x i32], align
12
- // CHECK-NEXT: ret i64 12
12
+ // CHECK-NEXT: ret i{{64|32}} 12
13
13
//
14
14
size_t test1 () {
15
15
int array [12 ];
16
16
return _Countof (array );
17
17
}
18
18
19
- // CHECK-LABEL: define{{( dso_local)?}} i64 @test2(
19
+ // CHECK-LABEL: define{{( dso_local)?}} i{{64|32}} @test2(
20
20
// CHECK-SAME: ) #[[ATTR0]] {
21
21
// CHECK-NEXT: [[ENTRY:.*:]]
22
- // CHECK-NEXT: ret i64 100
22
+ // CHECK-NEXT: ret i{{64|32}} 100
23
23
//
24
24
size_t test2 () {
25
25
return _Countof (float [100 ]);
You can’t perform that action at this time.
0 commit comments