[clang] [CLANG]Add Scalable vectors for mfloat8_t (PR #101644)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 08:35:21 PDT 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 159d694c05500a656775f4cbd6931dae9aab290a 111faea1619953a76a1acda070c61559c00678ca --extensions cpp,h,cppm,c -- clang/test/Sema/arm-mfp8.cpp clang/include/clang/Serialization/ASTBitCodes.h clang/lib/AST/ASTContext.cpp clang/lib/AST/Type.cpp clang/test/AST/ast-dump-aarch64-sve-types.c clang/test/CodeGen/aarch64-sve.c clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp clang/test/CodeGenCXX/aarch64-sve-typeinfo.cpp clang/test/CodeGenCXX/aarch64-sve-vector-init.cpp clang/test/Modules/no-external-type-id.cppm clang/test/Sema/aarch64-sve-types.c clang/utils/TableGen/SveEmitter.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/utils/TableGen/SveEmitter.cpp b/clang/utils/TableGen/SveEmitter.cpp
index 1d79cc71dd..072ba7e0e4 100644
--- a/clang/utils/TableGen/SveEmitter.cpp
+++ b/clang/utils/TableGen/SveEmitter.cpp
@@ -87,9 +87,7 @@ public:
   bool isDefault() const { return DefaultType; }
   bool isFloat() const { return Float && !BFloat && !MFloat; }
   bool isBFloat() const { return BFloat && !Float && !MFloat; }
-  bool isMFloat() const {
-    return MFloat && !BFloat && !Float;
-  }
+  bool isMFloat() const { return MFloat && !BFloat && !Float; }
   bool isFloatingPoint() const { return Float || BFloat; }
   bool isInteger() const {
     return !isFloatingPoint() && !Predicate && !Svcount;

``````````

</details>


https://github.com/llvm/llvm-project/pull/101644


More information about the cfe-commits mailing list