[llvm] 9719b63 - UnrollLoop.h - replace StringRef.h/ValueMapper.h includes with forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 18 13:46:42 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-18T21:43:22+01:00
New Revision: 9719b638be3f290cd59d9f790c1ce3de2877ea6c
URL: https://github.com/llvm/llvm-project/commit/9719b638be3f290cd59d9f790c1ce3de2877ea6c
DIFF: https://github.com/llvm/llvm-project/commit/9719b638be3f290cd59d9f790c1ce3de2877ea6c.diff
LOG: UnrollLoop.h - replace StringRef.h/ValueMapper.h includes with forward declarations. NFC.
Added:
Modified:
llvm/include/llvm/Transforms/Utils/UnrollLoop.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Utils/UnrollLoop.h b/llvm/include/llvm/Transforms/Utils/UnrollLoop.h
index 4c0ecd85d986..7194d8b47cd9 100644
--- a/llvm/include/llvm/Transforms/Utils/UnrollLoop.h
+++ b/llvm/include/llvm/Transforms/Utils/UnrollLoop.h
@@ -16,9 +16,7 @@
#define LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/TargetTransformInfo.h"
-#include "llvm/Transforms/Utils/ValueMapper.h"
namespace llvm {
@@ -33,6 +31,8 @@ class MDNode;
class ProfileSummaryInfo;
class OptimizationRemarkEmitter;
class ScalarEvolution;
+class StringRef;
+class Value;
using NewLoopsMap = SmallDenseMap<const Loop *, Loop *, 4>;
More information about the llvm-commits
mailing list