[llvm] [InstCombine] Remove unused includes (NFC) (PR #114709)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 3 07:18:17 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
Identified with misc-include-cleaner.
---
Full diff: https://github.com/llvm/llvm-project/pull/114709.diff
2 Files Affected:
- (modified) llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp (-1)
- (modified) llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp (-1)
``````````diff
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
index 6bb39cabb0988b..f7d5369bd87b74 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
@@ -12,7 +12,6 @@
#include "InstCombineInternal.h"
#include "llvm/ADT/APSInt.h"
-#include "llvm/ADT/ScopeExit.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/CaptureTracking.h"
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp b/llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
index 92293ef401465b..9bd848552615ad 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
@@ -43,7 +43,6 @@
#include <cassert>
#include <cstdint>
#include <functional>
-#include <type_traits>
#include <utility>
using namespace llvm;
``````````
</details>
https://github.com/llvm/llvm-project/pull/114709
More information about the llvm-commits
mailing list