Skip to content

Commit

Permalink
[llvm][NFC] Fix license on InlineFeaturesAnalysis.{h|cpp}
Browse files Browse the repository at this point in the history
Summary: Also fixed the InlineAdvisor.cpp license.

Reviewers: rriddle

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81896
  • Loading branch information
mtrofin committed Jun 16, 2020
1 parent 255d5db commit 296e477
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
8 changes: 8 additions & 0 deletions llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h
Original file line number Diff line number Diff line change
@@ -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_

Expand Down
7 changes: 3 additions & 4 deletions llvm/lib/Analysis/InlineAdvisor.cpp
Original file line number Diff line number Diff line change
@@ -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
//
//===----------------------------------------------------------------------===//
//
Expand Down
13 changes: 13 additions & 0 deletions llvm/lib/Analysis/InlineFeaturesAnalysis.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down

0 comments on commit 296e477

Please sign in to comment.