File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %{python} %utils/chex.py < %s > %t/raw_layout.sil
3
- // RUN: %target-swift-frontend -enable-experimental-feature RawLayout -emit-ir %t/raw_layout.sil | %FileCheck %t/raw_layout.sil
3
+ // RUN: %target-swift-frontend -enable-experimental-feature RawLayout -emit-ir %t/raw_layout.sil | %FileCheck %t/raw_layout.sil --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
4
4
5
5
import Swift
6
6
@@ -45,8 +45,9 @@ struct LikePaddedStrideArray1: ~Copyable {}
45
45
// CHECK-SAME: , {{i64|i32}} 16
46
46
// stride
47
47
// CHECK-SAME: , {{i64|i32}} 16
48
- // flags: alignment 3, noncopyable
49
- // CHECK-SAME: , <i32 0x800003>
48
+ // flags: alignment 3, noncopyable, (on 32-bit platforms) not storable inline
49
+ // CHECK-64-SAME: , <i32 0x800003>
50
+ // CHECK-32-SAME: , <i32 0x820003>
50
51
@_rawLayout ( likeArrayOf: PaddedStride, count: 2 )
51
52
struct LikePaddedStrideArray2 : ~ Copyable { }
52
53
You can’t perform that action at this time.
0 commit comments