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

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 3 07:17:45 PST 2024


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/114709

Identified with misc-include-cleaner.


>From 76d929d98348ffc1382e83336e74261ff9102cd9 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Sun, 3 Nov 2024 07:05:36 -0800
Subject: [PATCH] [InstCombine] Remove unused includes (NFC)

Identified with misc-include-cleaner.
---
 llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | 1 -
 llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp  | 1 -
 2 files changed, 2 deletions(-)

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