[llvm] [AArch64] Indirect tail-calls cannot use x16 with pac-ret+pc (PR #81020)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 10:31:00 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 34f61cfa6656acffc1a969a21c934c24ad0073c3 b88f2fab97034e6424998fad9ffdb7cd35b88536 -- llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp llvm/lib/Target/AArch64/AArch64ISelLowering.cpp llvm/lib/Target/AArch64/AArch64InstrInfo.cpp llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp b/llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
index 491040ee0b..3dc3d31a34 100644
--- a/llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
+++ b/llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
@@ -1028,7 +1028,7 @@ static unsigned getCallOpcode(const MachineFunction &CallerF, bool IsIndirect,
else
return AArch64::TCRETURNrix16x17;
} else if (FuncInfo->branchProtectionPAuthLR())
- return AArch64::TCRETURNrinotx16;
+ return AArch64::TCRETURNrinotx16;
return AArch64::TCRETURNri;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/81020
More information about the llvm-commits
mailing list