[llvm] 5919425 - [IR] Remove unnecessary includes (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 21:19:49 PST 2023


Author: Kazu Hirata
Date: 2023-12-07T21:19:43-08:00
New Revision: 59194253a0edad719c8672889aac91a8a19564b2

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

LOG: [IR] Remove unnecessary includes (NFC)

Added: 
    

Modified: 
    llvm/include/llvm/IR/Dominators.h
    llvm/include/llvm/IR/GetElementPtrTypeIterator.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/Dominators.h b/llvm/include/llvm/IR/Dominators.h
index b6b737f34b5e33..8784a425d2841a 100644
--- a/llvm/include/llvm/IR/Dominators.h
+++ b/llvm/include/llvm/IR/Dominators.h
@@ -16,7 +16,6 @@
 
 #include "llvm/ADT/APInt.h"
 #include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/DenseMapInfo.h"
 #include "llvm/ADT/DepthFirstIterator.h"
 #include "llvm/ADT/Hashing.h"
@@ -24,7 +23,6 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/Twine.h"
 #include "llvm/ADT/ilist_iterator.h"
-#include "llvm/ADT/iterator_range.h"
 #include "llvm/IR/BasicBlock.h"
 #include "llvm/IR/CFG.h"
 #include "llvm/IR/PassManager.h"

diff  --git a/llvm/include/llvm/IR/GetElementPtrTypeIterator.h b/llvm/include/llvm/IR/GetElementPtrTypeIterator.h
index 8c6ede96c873bb..f3272327c3f8b2 100644
--- a/llvm/include/llvm/IR/GetElementPtrTypeIterator.h
+++ b/llvm/include/llvm/IR/GetElementPtrTypeIterator.h
@@ -20,7 +20,6 @@
 #include "llvm/IR/Operator.h"
 #include "llvm/IR/User.h"
 #include "llvm/Support/Casting.h"
-#include <cassert>
 #include <cstddef>
 #include <cstdint>
 #include <iterator>


        


More information about the llvm-commits mailing list