[Mlir-commits] [mlir] [mlir][vector][nfc] Add tests + update docs for narrow-type emulation (PR #115460)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Nov 8 02:57:16 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 58a17e1bbc54357385d0b89cfc5635e402c31ef6 99deeab29eb98c3f2417f54a8dcf79ba24994bcb --extensions cpp -- mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
index b29617c09e..0f88ff21e8 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
@@ -328,7 +328,7 @@ struct ConvertVectorMaskedStore final
     //   %res = vector.maskedload %0[%c0, %c0], %mask, %val_to_store :
     //
     //   %mask = [1, 1, 1, 1, 1, 1, 1, 0]                     (8 * i1)
-    //   %0[%c0, %c0] = 
+    //   %0[%c0, %c0] =
     //      [0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]          (8 * i4)
     //   %val_to_store =
     //      [0x9, 0xA, 0xB, 0xC, 0xD, 0xE, 0xF, 0x0]          (8 * i4)

``````````

</details>


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


More information about the Mlir-commits mailing list