[llvm] [AMDGPU][RFC] Combine asm and disasm tests. (PR #90214)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 07:50:39 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 6fa09616da7436f85eb7e1e1fd74e1ac078ddb0d 9045f0187adf7d08a53511cc0939d7cb90f971c2 -- llvm/lib/MC/MCHexStreamer.cpp llvm/include/llvm/MC/TargetRegistry.h llvm/tools/llvm-mc/llvm-mc.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/tools/llvm-mc/llvm-mc.cpp b/llvm/tools/llvm-mc/llvm-mc.cpp
index 24d90a59b0..3f5e623b66 100644
--- a/llvm/tools/llvm-mc/llvm-mc.cpp
+++ b/llvm/tools/llvm-mc/llvm-mc.cpp
@@ -547,8 +547,8 @@ int main(int argc, char **argv) {
                   ? TheTarget->createHexStreamer(Ctx, std::move(FOut), IP,
                                                  std::move(CE), std::move(MAB))
                   : TheTarget->createAsmStreamer(
-                        Ctx, std::move(FOut), /*asmverbose=*/ true,
-                        /*useDwarfDirectory=*/ true, IP, std::move(CE),
+                        Ctx, std::move(FOut), /*asmverbose=*/true,
+                        /*useDwarfDirectory=*/true, IP, std::move(CE),
                         std::move(MAB), ShowInst));
   } else if (FileType == OFT_Null) {
     Str.reset(TheTarget->createNullStreamer(Ctx));

``````````

</details>


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


More information about the llvm-commits mailing list