[llvm] 6c87a0a - [Analysis] Remove unnecessary includes (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 22:15:39 PST 2023
Author: Kazu Hirata
Date: 2023-12-07T22:15:32-08:00
New Revision: 6c87a0af95f9dcd8f35c99f2c2fe175a778e3fe9
URL: https://github.com/llvm/llvm-project/commit/6c87a0af95f9dcd8f35c99f2c2fe175a778e3fe9
DIFF: https://github.com/llvm/llvm-project/commit/6c87a0af95f9dcd8f35c99f2c2fe175a778e3fe9.diff
LOG: [Analysis] Remove unnecessary includes (NFC)
Added:
Modified:
llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
llvm/lib/Analysis/IVDescriptors.cpp
llvm/unittests/Analysis/ValueLatticeTest.cpp
llvm/unittests/Analysis/VectorUtilsTest.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h b/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
index 91848a91c17e6e..fd884f2a2f55b0 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
+++ b/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
@@ -16,7 +16,6 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/iterator_range.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/ValueHandle.h"
diff --git a/llvm/lib/Analysis/IVDescriptors.cpp b/llvm/lib/Analysis/IVDescriptors.cpp
index 46629e381bc366..1aa324c6b5f380 100644
--- a/llvm/lib/Analysis/IVDescriptors.cpp
+++ b/llvm/lib/Analysis/IVDescriptors.cpp
@@ -24,8 +24,6 @@
#include "llvm/Support/Debug.h"
#include "llvm/Support/KnownBits.h"
-#include <set>
-
using namespace llvm;
using namespace llvm::PatternMatch;
diff --git a/llvm/unittests/Analysis/ValueLatticeTest.cpp b/llvm/unittests/Analysis/ValueLatticeTest.cpp
index ae221811f3fb5a..b456f286e0d965 100644
--- a/llvm/unittests/Analysis/ValueLatticeTest.cpp
+++ b/llvm/unittests/Analysis/ValueLatticeTest.cpp
@@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
#include "llvm/Analysis/ValueLattice.h"
-#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/ConstantRange.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/IRBuilder.h"
diff --git a/llvm/unittests/Analysis/VectorUtilsTest.cpp b/llvm/unittests/Analysis/VectorUtilsTest.cpp
index 1b3a8b0259f017..14958aa646a04d 100644
--- a/llvm/unittests/Analysis/VectorUtilsTest.cpp
+++ b/llvm/unittests/Analysis/VectorUtilsTest.cpp
@@ -17,7 +17,6 @@
#include "llvm/IR/NoFolder.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SourceMgr.h"
-#include "llvm/Support/KnownBits.h"
#include "gtest/gtest.h"
using namespace llvm;
More information about the llvm-commits
mailing list