File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-frontend -emit-irgen %s | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize -DINT=i%target-ptrsize
1
+ // RUN: %target-swift-frontend -emit-irgen %s | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-cpu --check-prefix=CHECK-%target- ptrsize -DINT=i%target-ptrsize
2
2
3
3
import Builtin
4
4
@@ -105,6 +105,9 @@ bb0(%outt : $*T, %t : $*T):
105
105
// CHECK:[[RESUME_BB]]:
106
106
// CHECK: [[VW_PTR:%.*]] = getelementptr inbounds ptr, ptr [[TYPE]], [[INT]] -1
107
107
// CHECK: [[VW:%.*]] = load ptr, ptr [[VW_PTR]]
108
+ // CHECK-arm64e-NEXT: ptrtoint ptr [[VW_PTR]] to i64
109
+ // CHECK-arm64e-NEXT: call i64 @llvm.ptrauth.blend
110
+ // CHECK-arm64e: [[VW:%.*]] = inttoptr i64 {{%.*}} to ptr
108
111
// CHECK: [[ASSIGN_PTR:%.*]] = getelementptr inbounds ptr, ptr [[VW]], i32 3
109
112
// CHECK: [[ASSIGN:%.*]] = load ptr, ptr [[ASSIGN_PTR]]
110
113
// CHECK: call ptr [[ASSIGN]](ptr [[INDIRECT_RET]], ptr [[ARG]], ptr [[TYPE]]) #2
You can’t perform that action at this time.
0 commit comments