[llvm] [DebugInfo][RemoveDIs] Cope with instructions moving after themselves (PR #74113)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 09:34:14 PST 2023


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 ea4eb691f4955e3b784ebf9bc94a47186838c6f2 f82d3962ee4144b86f4eeb1a78c25eddefcc0c3a -- llvm/lib/IR/Instruction.cpp llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/IR/BasicBlockDbgInfoTest.cpp b/llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
index c914a5b6f2..ea6be947bd 100644
--- a/llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
+++ b/llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
@@ -114,7 +114,6 @@ TEST(BasicBlockDbgInfoTest, InsertAfterSelf) {
   UseNewDbgInfoFormat = false;
 }
 
-
 TEST(BasicBlockDbgInfoTest, MarkerOperations) {
   LLVMContext C;
   UseNewDbgInfoFormat = true;

``````````

</details>


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


More information about the llvm-commits mailing list