[llvm] a310da8 - [SyntheticCountsPropagation] Remove unnecessary includes and add a LLVM license header. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 18 22:34:15 PDT 2020
Author: Craig Topper
Date: 2020-04-18T22:33:41-07:00
New Revision: a310da85cb727f7c0ea0e1628e4316878d293e2e
URL: https://github.com/llvm/llvm-project/commit/a310da85cb727f7c0ea0e1628e4316878d293e2e
DIFF: https://github.com/llvm/llvm-project/commit/a310da85cb727f7c0ea0e1628e4316878d293e2e.diff
LOG: [SyntheticCountsPropagation] Remove unnecessary includes and add a LLVM license header. NFC
Noticed while looking for CallSite.h uses to remove.
Added:
Modified:
llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h b/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h
index 0b3ba86bc9e4..0637d629bd29 100644
--- a/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h
+++ b/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h
@@ -1,13 +1,17 @@
+//=- SyntheticCountsPropagation.h - Propagate function counts -----*- C++ -*-=//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
#ifndef LLVM_TRANSFORMS_IPO_SYNTHETIC_COUNTS_PROPAGATION_H
#define LLVM_TRANSFORMS_IPO_SYNTHETIC_COUNTS_PROPAGATION_H
-#include "llvm/ADT/STLExtras.h"
-#include "llvm/IR/CallSite.h"
#include "llvm/IR/PassManager.h"
-#include "llvm/Support/ScaledNumber.h"
namespace llvm {
-class Function;
class Module;
class SyntheticCountsPropagation
More information about the llvm-commits
mailing list