[llvm] fbaa086 - [SCCP] Remove unused forward declarations (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Wed May 17 21:06:40 PDT 2023
Author: Kazu Hirata
Date: 2023-05-17T21:06:29-07:00
New Revision: fbaa086e1b67902082630228bc33890ccd5480ad
URL: https://github.com/llvm/llvm-project/commit/fbaa086e1b67902082630228bc33890ccd5480ad
DIFF: https://github.com/llvm/llvm-project/commit/fbaa086e1b67902082630228bc33890ccd5480ad.diff
LOG: [SCCP] Remove unused forward declarations (NFC)
While we are at it, this patch removes unnecessary includes.
Added:
Modified:
llvm/include/llvm/Transforms/Scalar/SCCP.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Scalar/SCCP.h b/llvm/include/llvm/Transforms/Scalar/SCCP.h
index 9d5441a799f91..7803f008c618b 100644
--- a/llvm/include/llvm/Transforms/Scalar/SCCP.h
+++ b/llvm/include/llvm/Transforms/Scalar/SCCP.h
@@ -20,19 +20,10 @@
#ifndef LLVM_TRANSFORMS_SCALAR_SCCP_H
#define LLVM_TRANSFORMS_SCALAR_SCCP_H
-#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/IR/PassManager.h"
-#include <functional>
-
namespace llvm {
-class AssumptionCache;
-class DataLayout;
class Function;
-class Module;
-class TargetLibraryInfo;
-class TargetTransformInfo;
-struct AnalysisResultsForFn;
/// This pass performs function-level constant propagation and merging.
class SCCPPass : public PassInfoMixin<SCCPPass> {
More information about the llvm-commits
mailing list