[llvm] [SSAUpdater] Avoid un-necessary SmallVector stores (PR #97820)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 5 05:17:04 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 00c622e596f918d9d83674b58097c8982ae1af95 3d5f9ee7c95a4fb1323cba16b50b24e5117831ce -- llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h b/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h
index a7a8b2ceca..cb18d5b0c2 100644
--- a/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h
+++ b/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h
@@ -23,9 +23,9 @@
 #ifndef LLVM_SUPPORT_GENERICITERATEDDOMINANCEFRONTIER_H
 #define LLVM_SUPPORT_GENERICITERATEDDOMINANCEFRONTIER_H
 
-#include "llvm/ADT/iterator_range.h"
 #include "llvm/ADT/SmallPtrSet.h"
 #include "llvm/ADT/SmallVector.h"
+#include "llvm/ADT/iterator_range.h"
 #include "llvm/Support/GenericDomTree.h"
 #include <queue>
 

``````````

</details>


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


More information about the llvm-commits mailing list