[clang] [ARM] Change NEON poly type to be unsigned (#56781) (PR #80691)

via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 5 07:09:28 PST 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 d15c454bedc05775b5080e1d2130b0554d5e5a81 0993e1c309a56c7e3813658ae4ebdd87a4573aa3 -- clang/lib/Sema/SemaChecking.cpp clang/lib/Sema/SemaType.cpp clang/test/CodeGenCXX/mangle-neon-vectors.cpp clang/test/CodeGenCXX/poly-unsigned.cpp clang/test/Sema/neon-vector-types.c clang/utils/TableGen/NeonEmitter.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index 17fdfb4d44..9e9c4f1aed 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -3400,8 +3400,7 @@ bool Sema::CheckNeonBuiltinFunctionCall(const TargetInfo &TI,
     QualType RHSTy = RHS.get()->getType();
 
     bool IsInt64Long = TI.getInt64Type() == TargetInfo::SignedLong;
-    QualType EltTy =
-        getNeonEltType(NeonTypeFlags(TV), Context, IsInt64Long);
+    QualType EltTy = getNeonEltType(NeonTypeFlags(TV), Context, IsInt64Long);
     if (HasConstPtr)
       EltTy = EltTy.withConst();
     QualType LHSTy = Context.getPointerType(EltTy);

``````````

</details>


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


More information about the cfe-commits mailing list