[llvm] 8a33920 - SizeOpts.h - remove ProfileSummaryInfo forward declaration. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 07:48:26 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-10T15:47:56+01:00
New Revision: 8a33920f65b6875e6e6aaf21bf55014ec837b872
URL: https://github.com/llvm/llvm-project/commit/8a33920f65b6875e6e6aaf21bf55014ec837b872
DIFF: https://github.com/llvm/llvm-project/commit/8a33920f65b6875e6e6aaf21bf55014ec837b872.diff
LOG: SizeOpts.h - remove ProfileSummaryInfo forward declaration. NFC.
We're include the entire ProfileSummaryInfo.h as inline functions use it in the header.
Added:
Modified:
llvm/include/llvm/Transforms/Utils/SizeOpts.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Utils/SizeOpts.h b/llvm/include/llvm/Transforms/Utils/SizeOpts.h
index df3fe04048c9..d4a2d8edb459 100644
--- a/llvm/include/llvm/Transforms/Utils/SizeOpts.h
+++ b/llvm/include/llvm/Transforms/Utils/SizeOpts.h
@@ -32,7 +32,6 @@ namespace llvm {
class BasicBlock;
class BlockFrequencyInfo;
class Function;
-class ProfileSummaryInfo;
enum class PGSOQueryType {
IRPass, // A query call from an IR-level transform pass.
More information about the llvm-commits
mailing list