[llvm] [llvm-exegesis] Adding in llvm-exegesis for Aarch64 for handling FPR8/16/32 and FPCR setReg warning (PR #130595)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 10 06:01:03 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 4fee3981a8f07a5c197a5a9fb559bcc0e52eff78 5f3de2201dadbb6de8f37203d5f771adbe324925 --extensions cpp -- llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp b/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
index 026dd24070..7e7fd5d114 100644
--- a/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
+++ b/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
@@ -88,9 +88,9 @@ loadFP8Immediate(MCRegister Reg, unsigned RegBitWidth, const APInt &Value) {
static unsigned getLoadFPImmediateOpcode(unsigned RegBitWidth) {
switch (RegBitWidth) {
case 16:
- return AArch64::FMOVH0; //FMOVHi;
+ return AArch64::FMOVH0; // FMOVHi;
case 32:
- return AArch64::FMOVS0; //FMOVSi;
+ return AArch64::FMOVS0; // FMOVSi;
case 64:
return AArch64::MOVID; //FMOVDi;
case 128:
``````````
</details>
https://github.com/llvm/llvm-project/pull/130595
More information about the llvm-commits
mailing list