[llvm] 35963f6 - VPlanValue.h - reduce unnecessary includes to forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 03:26:44 PDT 2020


Author: Simon Pilgrim
Date: 2020-05-27T11:26:14+01:00
New Revision: 35963f6d8519d7384c9040d629cbb4cf6ff96de8

URL: https://github.com/llvm/llvm-project/commit/35963f6d8519d7384c9040d629cbb4cf6ff96de8
DIFF: https://github.com/llvm/llvm-project/commit/35963f6d8519d7384c9040d629cbb4cf6ff96de8.diff

LOG: VPlanValue.h - reduce unnecessary includes to forward declarations. NFC.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/VPlanValue.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/VPlanValue.h b/llvm/lib/Transforms/Vectorize/VPlanValue.h
index efad124930f4..f73505d0279a 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanValue.h
+++ b/llvm/lib/Transforms/Vectorize/VPlanValue.h
@@ -23,16 +23,14 @@
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/iterator_range.h"
-#include "llvm/IR/Value.h"
-#include "llvm/Support/Debug.h"
-#include "llvm/Support/raw_ostream.h"
 
 namespace llvm {
 
 // Forward declarations.
-class VPUser;
-
+class raw_ostream;
+class Value;
 class VPSlotTracker;
+class VPUser;
 
 // This is the base class of the VPlan Def/Use graph, used for modeling the data
 // flow into, within and out of the VPlan. VPValues can stand for live-ins


        


More information about the llvm-commits mailing list