[llvm] e5bf14e - [InstCombine] Remove unused includes (NFC) (#114709)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 3 08:06:32 PST 2024


Author: Kazu Hirata
Date: 2024-11-03T08:06:29-08:00
New Revision: e5bf14e9acf150f5e6b7dc129ea5c75e900171bf

URL: https://github.com/llvm/llvm-project/commit/e5bf14e9acf150f5e6b7dc129ea5c75e900171bf
DIFF: https://github.com/llvm/llvm-project/commit/e5bf14e9acf150f5e6b7dc129ea5c75e900171bf.diff

LOG: [InstCombine] Remove unused includes (NFC) (#114709)

Identified with misc-include-cleaner.

Added: 
    

Modified: 
    llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp

Removed: 
    


################################################################################
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;


        


More information about the llvm-commits mailing list