[llvm] [RFC][GlobalISel] InstructionSelect: Allow arbitrary instruction erasure (PR #97670)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 13 16:36:13 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 f4254f3f517c60deeb2ba309c3bb5dfb644bed89 43d59d35ffd31ff6e48d3df534811959d12dcfe0 --extensions h,cpp -- llvm/unittests/CodeGen/GlobalISel/InstructionSelectTest.cpp llvm/include/llvm/CodeGen/GlobalISel/InstructionSelect.h llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/CodeGen/GlobalISel/InstructionSelectTest.cpp b/llvm/unittests/CodeGen/GlobalISel/InstructionSelectTest.cpp
index d946079628..87a27bd138 100644
--- a/llvm/unittests/CodeGen/GlobalISel/InstructionSelectTest.cpp
+++ b/llvm/unittests/CodeGen/GlobalISel/InstructionSelectTest.cpp
@@ -1,5 +1,5 @@
-#include "GISelMITest.h"
#include "llvm/CodeGen/GlobalISel/InstructionSelect.h"
+#include "GISelMITest.h"
#include "llvm/CodeGen/GlobalISel/InstructionSelector.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/LegacyPassManager.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/97670
More information about the llvm-commits
mailing list