|
1 |
| -; RUN: opt -mtriple=x86_64-unknown-linux -S -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=%S/Inputs/use-typeid1-typeid2.yaml -lowertypetests-write-summary=%t %s | FileCheck --check-prefix=CHECK %s |
2 |
| -; RUN: FileCheck --check-prefixes=SUMMARY,SUMMARY-X86 %s < %t |
| 1 | +; RUN: opt -mtriple=i686-unknown-linux -S -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=%S/Inputs/use-typeid1-typeid2.yaml -lowertypetests-write-summary=%t %s | FileCheck --check-prefixes=CHECK,CHECK-X86-32 %s |
| 2 | +; RUN: FileCheck --check-prefixes=SUMMARY,SUMMARY-X86,SUMMARY-X86-32 %s < %t |
3 | 3 |
|
4 |
| -; RUN: opt -mtriple=aarch64-unknown-linux -S -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=%S/Inputs/use-typeid1-typeid2.yaml -lowertypetests-write-summary=%t %s | FileCheck --check-prefix=CHECK %s |
5 |
| -; RUN: FileCheck --check-prefixes=SUMMARY,SUMMARY-ARM %s < %t |
| 4 | +; RUN: opt -mtriple=x86_64-unknown-linux -S -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=%S/Inputs/use-typeid1-typeid2.yaml -lowertypetests-write-summary=%t %s | FileCheck --check-prefixes=CHECK,CHECK-64 %s |
| 5 | +; RUN: FileCheck --check-prefixes=SUMMARY,SUMMARY-X86,SUMMARY-64 %s < %t |
| 6 | + |
| 7 | +; RUN: opt -mtriple=aarch64-unknown-linux -S -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=%S/Inputs/use-typeid1-typeid2.yaml -lowertypetests-write-summary=%t %s | FileCheck --check-prefixes=CHECK,CHECK-64 %s |
| 8 | +; RUN: FileCheck --check-prefixes=SUMMARY,SUMMARY-64,SUMMARY-ARM %s < %t |
6 | 9 |
|
7 | 10 | @foo = constant [2048 x i8] zeroinitializer, !type !0, !type !1, !type !2, !type !3
|
8 | 11 |
|
|
13 | 16 |
|
14 | 17 | ; CHECK: [[G:@[0-9]+]] = private constant { [2048 x i8] } zeroinitializer
|
15 | 18 |
|
16 |
| -; CHECK: @__typeid_typeid1_global_addr = hidden alias i8, getelementptr (i8, ptr [[G]], i64 6) |
| 19 | +; CHECK-X86-32: @__typeid_typeid1_global_addr = hidden alias i8, getelementptr (i8, ptr [[G]], i32 6) |
| 20 | +; CHECK-64: @__typeid_typeid1_global_addr = hidden alias i8, getelementptr (i8, ptr [[G]], i64 6) |
17 | 21 | ; CHECK-X86: @__typeid_typeid1_align = hidden alias i8, inttoptr (i8 1 to ptr)
|
18 | 22 | ; CHECK-X86: @__typeid_typeid1_size_m1 = hidden alias i8, inttoptr (i64 3 to ptr)
|
19 | 23 | ; CHECK-X86: @__typeid_typeid1_inline_bits = hidden alias i8, inttoptr (i32 9 to ptr)
|
20 | 24 |
|
21 |
| -; CHECK: @__typeid_typeid2_global_addr = hidden alias i8, getelementptr (i8, ptr [[G]], i64 136) |
| 25 | +; CHECK-X86-32: @__typeid_typeid2_global_addr = hidden alias i8, getelementptr (i8, ptr [[G]], i32 136) |
| 26 | +; CHECK-64: @__typeid_typeid2_global_addr = hidden alias i8, getelementptr (i8, ptr [[G]], i64 136) |
22 | 27 | ; CHECK-X86: @__typeid_typeid2_align = hidden alias i8, inttoptr (i8 2 to ptr)
|
23 | 28 | ; CHECK-X86: @__typeid_typeid2_size_m1 = hidden alias i8, inttoptr (i64 33 to ptr)
|
24 |
| -; CHECK-X86: @__typeid_typeid2_inline_bits = hidden alias i8, inttoptr (i64 8589934593 to ptr) |
| 29 | +; CHECK-X86-64: @__typeid_typeid2_inline_bits = hidden alias i8, inttoptr (i64 8589934593 to ptr) |
| 30 | +; CHECK-X86-32: @__typeid_typeid2_byte_array = hidden alias i8, ptr @bits |
| 31 | +; CHECK-X86-32: @__typeid_typeid2_bit_mask = hidden alias i8, inttoptr (i8 1 to ptr) |
25 | 32 |
|
26 | 33 | ; CHECK: @foo = alias [2048 x i8], ptr [[G]]
|
27 | 34 |
|
|
41 | 48 | ; SUMMARY-NEXT: WPDRes:
|
42 | 49 | ; SUMMARY-NEXT: typeid2:
|
43 | 50 | ; SUMMARY-NEXT: TTRes:
|
44 |
| -; SUMMARY-NEXT: Kind: Inline |
45 |
| -; SUMMARY-NEXT: SizeM1BitWidth: 6 |
| 51 | +; SUMMARY-X86-32-NEXT: Kind: ByteArray |
| 52 | +; SUMMARY-X86-32-NEXT: SizeM1BitWidth: 7 |
| 53 | +; SUMMARY-64-NEXT: Kind: Inline |
| 54 | +; SUMMARY-64-NEXT: SizeM1BitWidth: 6 |
46 | 55 | ; SUMMARY-X86-NEXT: AlignLog2: 0
|
47 | 56 | ; SUMMARY-X86-NEXT: SizeM1: 0
|
48 | 57 | ; SUMMARY-X86-NEXT: BitMask: 0
|
|
0 commit comments