[llvm] 22b0f7b - [Transforms] Include llvm/ADT/SmallSet.h (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 11 12:25:46 PST 2023


Author: Kazu Hirata
Date: 2023-11-11T12:25:39-08:00
New Revision: 22b0f7ba6ece7728d802c0ca2bf42fd7d0795e84

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

LOG: [Transforms] Include llvm/ADT/SmallSet.h (NFC)

This patch adds #include "llvm/ADT/SmallSet.h" to a couple of files
that are relying on transitive includes of SmallSet.h.  It in turn
unblocks the removal of unnecessary includes of llvm/ADT/SmallSet.h in
several other files.

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    llvm/lib/Transforms/Utils/CanonicalizeFreezeInLoops.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
index 42ca19f2b3b09b6..72b9db1e73d73dc 100644
--- a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+++ b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
@@ -19,6 +19,7 @@
 
 #include "llvm/Transforms/Scalar/LowerMatrixIntrinsics.h"
 #include "llvm/ADT/PostOrderIterator.h"
+#include "llvm/ADT/SmallSet.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Analysis/AliasAnalysis.h"
 #include "llvm/Analysis/DomTreeUpdater.h"

diff  --git a/llvm/lib/Transforms/Utils/CanonicalizeFreezeInLoops.cpp b/llvm/lib/Transforms/Utils/CanonicalizeFreezeInLoops.cpp
index a1ee3df907eca49..fb4d8288537725e 100644
--- a/llvm/lib/Transforms/Utils/CanonicalizeFreezeInLoops.cpp
+++ b/llvm/lib/Transforms/Utils/CanonicalizeFreezeInLoops.cpp
@@ -30,6 +30,7 @@
 
 #include "llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h"
 #include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/SmallSet.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Analysis/IVDescriptors.h"
 #include "llvm/Analysis/LoopAnalysisManager.h"


        


More information about the llvm-commits mailing list