[PATCH] D81896: [llvm][NFC] Fix license on InlineFeaturesAnalysis.{h|cpp}

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 15 17:08:55 PDT 2020


mtrofin created this revision.
mtrofin added a reviewer: rriddle.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
rriddle accepted this revision.
This revision is now accepted and ready to land.

Also fixed the InlineAdvisor.cpp license.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81896

Files:
  llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h
  llvm/lib/Analysis/InlineAdvisor.cpp
  llvm/lib/Analysis/InlineFeaturesAnalysis.cpp


Index: llvm/lib/Analysis/InlineFeaturesAnalysis.cpp
===================================================================
--- llvm/lib/Analysis/InlineFeaturesAnalysis.cpp
+++ llvm/lib/Analysis/InlineFeaturesAnalysis.cpp
@@ -1,3 +1,16 @@
+//===- InlineFeaturesAnalysis.cpp - Feature extraction for ML Policies ----===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements an analysis extracting function features, which may be
+// used by ML-driven policies, for example.
+//
+//===----------------------------------------------------------------------===//
+
 #include "llvm/Analysis/InlineFeaturesAnalysis.h"
 #include "llvm/IR/Instructions.h"
 
Index: llvm/lib/Analysis/InlineAdvisor.cpp
===================================================================
--- llvm/lib/Analysis/InlineAdvisor.cpp
+++ llvm/lib/Analysis/InlineAdvisor.cpp
@@ -1,9 +1,8 @@
 //===- InlineAdvisor.cpp - analysis pass implementation -------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// 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
 //
 //===----------------------------------------------------------------------===//
 //
Index: llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h
===================================================================
--- llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h
+++ llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h
@@ -1,3 +1,11 @@
+//===- InlineFeaturesAnalysis.h - ML Policy Feature extraction  -*- 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_INLINEFEATURESANALYSIS_H_
 #define LLVM_INLINEFEATURESANALYSIS_H_
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81896.270915.patch
Type: text/x-patch
Size: 2396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200616/66c001f6/attachment.bin>


More information about the llvm-commits mailing list