summaryrefslogtreecommitdiff
path: root/mlir/unittests/IR
diff options
context:
space:
mode:
authorMehdi Amini <aminim@google.com>2019-12-23 09:35:36 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-23 15:33:37 -0800
commit56222a0694e4caf35e892d70591417c39fef1185 (patch)
tree0c15fe030196754c69b16fb9690baf28451b1620 /mlir/unittests/IR
parent35807bc4c5c9d8abc31ba0b2f955a82abf276e12 (diff)
downloadllvm-56222a0694e4caf35e892d70591417c39fef1185.tar.gz
Adjust License.txt file to use the LLVM license
PiperOrigin-RevId: 286906740
Diffstat (limited to 'mlir/unittests/IR')
-rw-r--r--mlir/unittests/IR/AttributeTest.cpp17
-rw-r--r--mlir/unittests/IR/DialectTest.cpp17
-rw-r--r--mlir/unittests/IR/OperationSupportTest.cpp17
-rw-r--r--mlir/unittests/IR/StringExtrasTest.cpp17
4 files changed, 16 insertions, 52 deletions
diff --git a/mlir/unittests/IR/AttributeTest.cpp b/mlir/unittests/IR/AttributeTest.cpp
index 3db87b29c2d3..5a1750e11231 100644
--- a/mlir/unittests/IR/AttributeTest.cpp
+++ b/mlir/unittests/IR/AttributeTest.cpp
@@ -1,19 +1,10 @@
//===- AttributeTest.cpp - Attribute unit tests ---------------------------===//
//
-// Copyright 2019 The MLIR Authors.
+// Part of the MLIR 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
//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// =============================================================================
+//===----------------------------------------------------------------------===//
#include "mlir/IR/Attributes.h"
#include "mlir/IR/StandardTypes.h"
diff --git a/mlir/unittests/IR/DialectTest.cpp b/mlir/unittests/IR/DialectTest.cpp
index e48d2d7d710c..1438d3226529 100644
--- a/mlir/unittests/IR/DialectTest.cpp
+++ b/mlir/unittests/IR/DialectTest.cpp
@@ -1,19 +1,10 @@
//===- DialectTest.cpp - Dialect unit tests -------------------------------===//
//
-// Copyright 2019 The MLIR Authors.
+// Part of the MLIR 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
//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// =============================================================================
+//===----------------------------------------------------------------------===//
#include "mlir/IR/Dialect.h"
#include "gtest/gtest.h"
diff --git a/mlir/unittests/IR/OperationSupportTest.cpp b/mlir/unittests/IR/OperationSupportTest.cpp
index d7dae4648fed..004a940ca6ca 100644
--- a/mlir/unittests/IR/OperationSupportTest.cpp
+++ b/mlir/unittests/IR/OperationSupportTest.cpp
@@ -1,19 +1,10 @@
//===- OperationSupportTest.cpp - Operation support unit tests ------------===//
//
-// Copyright 2019 The MLIR Authors.
+// Part of the MLIR 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
//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// =============================================================================
+//===----------------------------------------------------------------------===//
#include "mlir/IR/OperationSupport.h"
#include "mlir/IR/Builders.h"
diff --git a/mlir/unittests/IR/StringExtrasTest.cpp b/mlir/unittests/IR/StringExtrasTest.cpp
index def659503653..3773006faee6 100644
--- a/mlir/unittests/IR/StringExtrasTest.cpp
+++ b/mlir/unittests/IR/StringExtrasTest.cpp
@@ -1,19 +1,10 @@
//===- StringExtrasTest.cpp - Tests for utility methods in StringExtras.h -===//
//
-// Copyright 2019 The MLIR Authors.
+// Part of the MLIR 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
//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// =============================================================================
+//===----------------------------------------------------------------------===//
#include "mlir/Support/StringExtras.h"
#include "gtest/gtest.h"