[llvm] 296e477 - [llvm][NFC] Fix license on InlineFeaturesAnalysis.{h|cpp}

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 15 19:35:26 PDT 2020


Author: Mircea Trofin
Date: 2020-06-15T19:34:33-07:00
New Revision: 296e47734e62e8ddb0a05b8c9a139062a925bbe3

URL: https://github.com/llvm/llvm-project/commit/296e47734e62e8ddb0a05b8c9a139062a925bbe3
DIFF: https://github.com/llvm/llvm-project/commit/296e47734e62e8ddb0a05b8c9a139062a925bbe3.diff

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

Summary: Also fixed the InlineAdvisor.cpp license.

Reviewers: rriddle

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81896

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h b/llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h
index 694cae34bc75..cc3f96c424e9 100644
--- a/llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h
+++ b/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_
 

diff  --git a/llvm/lib/Analysis/InlineAdvisor.cpp b/llvm/lib/Analysis/InlineAdvisor.cpp
index d5b71f644d80..d3cd703385f4 100644
--- a/llvm/lib/Analysis/InlineAdvisor.cpp
+++ b/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
 //
 //===----------------------------------------------------------------------===//
 //

diff  --git a/llvm/lib/Analysis/InlineFeaturesAnalysis.cpp b/llvm/lib/Analysis/InlineFeaturesAnalysis.cpp
index 013b8bbada34..90f521bbaab4 100644
--- a/llvm/lib/Analysis/InlineFeaturesAnalysis.cpp
+++ b/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"
 


        


More information about the llvm-commits mailing list