[llvm] [AArch64][PAC] Implement code generation for @llvm.ptrauth.auth (PR #72502)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 16 03:35:30 PST 2023
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 865f54e501739f382d33866baebfd0f9aaad01bb 99d008170bfa66941ac76b89fbdc69b4101ff5f1 -- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp llvm/lib/Target/AArch64/AArch64ISelLowering.h llvm/lib/Target/AArch64/AArch64PointerAuth.cpp llvm/lib/Target/AArch64/AArch64PointerAuth.h llvm/lib/Target/AArch64/AArch64Subtarget.cpp llvm/lib/Target/AArch64/AArch64Subtarget.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64PointerAuth.h b/llvm/lib/Target/AArch64/AArch64PointerAuth.h
index e9f1379c66..10fa12bc85 100644
--- a/llvm/lib/Target/AArch64/AArch64PointerAuth.h
+++ b/llvm/lib/Target/AArch64/AArch64PointerAuth.h
@@ -102,7 +102,7 @@ enum class AuthCheckMethod {
/// The methods applicable to any register authenticated using any key.
#define AUTH_CHECK_METHOD_CL_VALUES_GENERIC \
- AUTH_CHECK_METHOD_CL_VALUES_COMMON, \
+ AUTH_CHECK_METHOD_CL_VALUES_COMMON, \
clEnumValN(AArch64PAuth::AuthCheckMethod::XPAC, "xpac", \
"Compare with the result of XPAC (needs FEAT_PAuth)")
``````````
</details>
https://github.com/llvm/llvm-project/pull/72502
More information about the llvm-commits
mailing list