Skip to content

Commit 539b69c

Browse files
committed
Update test following ptr cast changes.
1 parent 0d01874 commit 539b69c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/test/Transforms/InstCombine/ptrauth-call.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ define i32 @test_ptrauth_call_blend(i32 %a0) {
4949

5050
define i64 @test_ptrauth_call_cast(i32 %a0) {
5151
; CHECK-LABEL: @test_ptrauth_call_cast(
52-
; CHECK-NEXT: [[V0:%.*]] = call ptr @f2(i32 [[A0:%.*]])
53-
; CHECK-NEXT: [[TMP1:%.*]] = ptrtoint ptr [[V0]] to i64
54-
; CHECK-NEXT: ret i64 [[TMP1]]
52+
; CHECK-NEXT: [[V0:%.*]] = call i64 @f2(i32 [[A0:%.*]])
53+
; CHECK-NEXT: ret i64 [[V0]]
5554
;
5655
%v0 = call i64 ptrauth(ptr @f2, i32 0)(i32 %a0) [ "ptrauth"(i32 0, i64 0) ]
5756
ret i64 %v0

0 commit comments

Comments
 (0)