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 origin/main HEAD --extensions h,c,cpp --
clang/test/Driver/aarch64-v96a.c
clang/test/Driver/print-supported-extensions-aarch64.c
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
llvm/unittests/TargetParser/TargetParserTest.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
index 566c83b5e..0c9a94ee9 100644
--- a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -4430,8 +4430,7 @@ ParseStatus
AArch64AsmParser::tryParseSysReg(OperandVector &Operands) {
} else {
MRSReg = MSRReg = AArch64SysReg::parseGenericRegister(Tok.getString());
const FeatureBitset &FeatureBits = getSTI().getFeatureBits();
- if (MRSReg != -1 &&
- AArch64SysReg::isHINTESystemRegisterEncoding(MRSReg) &&
+ if (MRSReg != -1 && AArch64SysReg::isHINTESystemRegisterEncoding(MRSReg) &&
!FeatureBits[AArch64::FeatureHINTE] &&
!FeatureBits[AArch64::FeatureAll])
MRSReg = MSRReg = -1;
``````````
</details>
https://github.com/llvm/llvm-project/pull/206905
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits