[llvm] [AArch64] Fix variadic tail-calls on ARM64EC (PR #79774)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 00:19:06 PST 2024
================
@@ -7991,11 +7991,22 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
}
if (IsVarArg && Subtarget->isWindowsArm64EC()) {
+ SDValue ParamPtr = StackPtr;
+ if (IsTailCall) {
+ const AArch64FrameLowering *TFI =
+ MF.getSubtarget<AArch64Subtarget>().getFrameLowering();
----------------
efriedma-quic wrote:
Unused variable?
https://github.com/llvm/llvm-project/pull/79774
More information about the llvm-commits
mailing list