[PATCH] D54398: [IPSCCP] Delete two forward declarations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 11 15:19:55 PST 2018


MaskRay updated this revision to Diff 173595.
MaskRay edited the summary of this revision.
MaskRay added a comment.

Delete include


Repository:
  rL LLVM

https://reviews.llvm.org/D54398

Files:
  include/llvm/Transforms/Scalar/SCCP.h


Index: include/llvm/Transforms/Scalar/SCCP.h
===================================================================
--- include/llvm/Transforms/Scalar/SCCP.h
+++ include/llvm/Transforms/Scalar/SCCP.h
@@ -22,7 +22,6 @@
 #define LLVM_TRANSFORMS_SCALAR_SCCP_H
 
 #include "llvm/ADT/STLExtras.h"
-#include "llvm/Analysis/PostDominators.h"
 #include "llvm/Analysis/TargetLibraryInfo.h"
 #include "llvm/IR/DataLayout.h"
 #include "llvm/IR/Function.h"
@@ -32,7 +31,6 @@
 
 namespace llvm {
 
-class Function;
 class PostDominatorTree;
 
 /// This pass performs function-level constant propagation and merging.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54398.173595.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181111/1dcb3fd9/attachment.bin>


More information about the llvm-commits mailing list