We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d01874 commit 539b69cCopy full SHA for 539b69c
llvm/test/Transforms/InstCombine/ptrauth-call.ll
@@ -49,9 +49,8 @@ define i32 @test_ptrauth_call_blend(i32 %a0) {
49
50
define i64 @test_ptrauth_call_cast(i32 %a0) {
51
; 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]]
+; CHECK-NEXT: [[V0:%.*]] = call i64 @f2(i32 [[A0:%.*]])
+; CHECK-NEXT: ret i64 [[V0]]
55
;
56
%v0 = call i64 ptrauth(ptr @f2, i32 0)(i32 %a0) [ "ptrauth"(i32 0, i64 0) ]
57
ret i64 %v0
0 commit comments