diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyPointerAuth.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyPointerAuth.cpp index db232f07808352..395867e2e7e6b5 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyPointerAuth.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyPointerAuth.cpp @@ -197,7 +197,7 @@ void WebAssemblyPointerAuth::visitCallBase(llvm::CallBase &CB) { Intrinsic::getDeclaration(CB.getModule(), Intrinsic::wasm_pointer_auth); IRBuilder<> IRB(&CB); auto *AuthCallee = - IRB.CreateCall(PointerAuthIntr, {Op, IRB.getInt64(0)}); + IRB.CreateCall(PointerAuthIntr, {Op}); CB.setCalledOperand(AuthCallee); }