|
6 | 6 | %struct.ST = type { i32, double, %struct.RT }
|
7 | 7 |
|
8 | 8 | define i32* @foo(%struct.ST* %s) nounwind uwtable readnone optsize ssp {
|
9 |
| -; IS__TUNIT____: Function Attrs: nofree nosync nounwind optsize readnone ssp uwtable willreturn |
10 |
| -; IS__TUNIT____-LABEL: define {{[^@]+}}@foo |
11 |
| -; IS__TUNIT____-SAME: (%struct.ST* nofree readnone [[S:%.*]]) #[[ATTR0:[0-9]+]] { |
12 |
| -; IS__TUNIT____-NEXT: entry: |
13 |
| -; IS__TUNIT____-NEXT: [[ARRAYIDX:%.*]] = getelementptr inbounds [[STRUCT_ST:%.*]], %struct.ST* [[S]], i64 1, i32 2, i32 1, i64 5, i64 13 |
14 |
| -; IS__TUNIT____-NEXT: ret i32* [[ARRAYIDX]] |
15 |
| -; |
16 |
| -; IS__CGSCC____: Function Attrs: nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn |
17 |
| -; IS__CGSCC____-LABEL: define {{[^@]+}}@foo |
18 |
| -; IS__CGSCC____-SAME: (%struct.ST* nofree readnone [[S:%.*]]) #[[ATTR0:[0-9]+]] { |
19 |
| -; IS__CGSCC____-NEXT: entry: |
20 |
| -; IS__CGSCC____-NEXT: [[ARRAYIDX:%.*]] = getelementptr inbounds [[STRUCT_ST:%.*]], %struct.ST* [[S]], i64 1, i32 2, i32 1, i64 5, i64 13 |
21 |
| -; IS__CGSCC____-NEXT: ret i32* [[ARRAYIDX]] |
| 9 | +; CHECK: Function Attrs: nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn |
| 10 | +; CHECK-LABEL: define {{[^@]+}}@foo |
| 11 | +; CHECK-SAME: (%struct.ST* nofree readnone [[S:%.*]]) #[[ATTR0:[0-9]+]] { |
| 12 | +; CHECK-NEXT: entry: |
| 13 | +; CHECK-NEXT: [[ARRAYIDX:%.*]] = getelementptr inbounds [[STRUCT_ST:%.*]], %struct.ST* [[S]], i64 1, i32 2, i32 1, i64 5, i64 13 |
| 14 | +; CHECK-NEXT: ret i32* [[ARRAYIDX]] |
22 | 15 | ;
|
23 | 16 | entry:
|
24 | 17 | %arrayidx = getelementptr inbounds %struct.ST, %struct.ST* %s, i64 1, i32 2, i32 1, i64 5, i64 13
|
|
0 commit comments