[llvm] 4370833 - [HashRecognize] Remove unused #include

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 02:35:17 PDT 2025


Author: Benjamin Kramer
Date: 2025-06-02T11:35:06+02:00
New Revision: 4370833a7af91fbb6434ee2c31ff602be9afd9c5

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

LOG: [HashRecognize] Remove unused #include

It's also a layering violation.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/HashRecognize.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/HashRecognize.h b/llvm/include/llvm/Analysis/HashRecognize.h
index 872404de5bf41..7a31ab681bed5 100644
--- a/llvm/include/llvm/Analysis/HashRecognize.h
+++ b/llvm/include/llvm/Analysis/HashRecognize.h
@@ -21,9 +21,12 @@
 #include "llvm/IR/PassManager.h"
 #include "llvm/IR/Value.h"
 #include "llvm/Support/KnownBits.h"
-#include "llvm/Transforms/Scalar/LoopPassManager.h"
+#include <variant>
 
 namespace llvm {
+
+class LPMUpdater;
+
 /// A tuple of bits that are expected to be zero, number N of them expected to
 /// be zero, with a boolean indicating whether it's the top or bottom N bits
 /// expected to be zero.


        


More information about the llvm-commits mailing list