[clang] [llvm] [msan] Implement support for Arm NEON vst{2,3,4} instructions (PR #99360)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 17 10:40:35 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 791161516f48f41ae90f1231fdfc7374f43b5a9f de8986c5a21ad69c5688f262efd899677d672120 --extensions cpp -- llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index 377223e93cd..59a6c3c15d0 100644
--- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -3780,8 +3780,10 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
                         uint Width) {
     assert(isa<FixedVectorType>(left->getType()));
     assert(isa<FixedVectorType>(right->getType()));
-    assert(cast<FixedVectorType>(left->getType())->getNumElements() == 2 * Width);
-    assert(cast<FixedVectorType>(right->getType())->getNumElements() == 2 * Width);
+    assert(cast<FixedVectorType>(left->getType())->getNumElements() ==
+           2 * Width);
+    assert(cast<FixedVectorType>(right->getType())->getNumElements() ==
+           2 * Width);
 
     SmallVector<Constant *> Idxs;
 

``````````

</details>


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


More information about the cfe-commits mailing list