[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 19:51:57 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG296e47734e62: [llvm][NFC] Fix license on InlineFeaturesAnalysis.{h|cpp} (authored by mtrofin).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81896/new/
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.270945.patch
Type: text/x-patch
Size: 2396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200616/4efb7aa4/attachment.bin>
More information about the llvm-commits
mailing list