[llvm] [XRay] Fix tail call sleds for AArch64 (PR #141403)
via llvm-commits
llvm-commits at lists.llvm.org
Sun May 25 02:39:49 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- llvm/lib/CodeGen/XRayInstrumentation.cpp llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/XRayInstrumentation.cpp b/llvm/lib/CodeGen/XRayInstrumentation.cpp
index cd00e362e..d2f40581e 100644
--- a/llvm/lib/CodeGen/XRayInstrumentation.cpp
+++ b/llvm/lib/CodeGen/XRayInstrumentation.cpp
@@ -298,7 +298,7 @@ bool XRayInstrumentation::run(MachineFunction &MF) {
InstrumentationOptions op;
// AArch64 and RISC-V support patching tail calls.
op.HandleTailcall = MF.getTarget().getTargetTriple().isAArch64() ||
- MF.getTarget().getTargetTriple().isRISCV() ;
+ MF.getTarget().getTargetTriple().isRISCV();
op.HandleAllReturns = true;
prependRetWithPatchableExit(MF, TII, op);
break;
``````````
</details>
https://github.com/llvm/llvm-project/pull/141403
More information about the llvm-commits
mailing list