From 5ff5236e00e38d996e14764e983e59901cc55fab Mon Sep 17 00:00:00 2001 From: Kevin Gleason Date: Tue, 4 Feb 2025 22:23:20 +0000 Subject: [PATCH] Address feedback --- .../transforms/optimization/CMakeLists.txt | 2 +- stablehlo/transforms/optimization/Passes.h | 2 +- stablehlo/transforms/optimization/Passes.td | 2 +- .../StablehloTargetIndependentOptimization.cpp | 18 ++++++++++++------ 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/stablehlo/transforms/optimization/CMakeLists.txt b/stablehlo/transforms/optimization/CMakeLists.txt index f52054aec2..d43d77beed 100644 --- a/stablehlo/transforms/optimization/CMakeLists.txt +++ b/stablehlo/transforms/optimization/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright 2022 The StableHLO Authors. +# Copyright 2025 The StableHLO Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/stablehlo/transforms/optimization/Passes.h b/stablehlo/transforms/optimization/Passes.h index 11f8404fa6..5aa7ea55af 100644 --- a/stablehlo/transforms/optimization/Passes.h +++ b/stablehlo/transforms/optimization/Passes.h @@ -1,4 +1,4 @@ -/* Copyright 2022 The StableHLO Authors. +/* Copyright 2025 The StableHLO Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/stablehlo/transforms/optimization/Passes.td b/stablehlo/transforms/optimization/Passes.td index b3cbe9371e..31e789433c 100644 --- a/stablehlo/transforms/optimization/Passes.td +++ b/stablehlo/transforms/optimization/Passes.td @@ -1,4 +1,4 @@ -/* Copyright 2022 The StableHLO Authors. +/* Copyright 2025 The StableHLO Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/stablehlo/transforms/optimization/StablehloTargetIndependentOptimization.cpp b/stablehlo/transforms/optimization/StablehloTargetIndependentOptimization.cpp index bae782bd27..74f2698000 100644 --- a/stablehlo/transforms/optimization/StablehloTargetIndependentOptimization.cpp +++ b/stablehlo/transforms/optimization/StablehloTargetIndependentOptimization.cpp @@ -1,10 +1,16 @@ -// Copyright 2023 The IREE Authors -// -// Licensed under the Apache License, Version 2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +/* Copyright 2025 The StableHLO Authors. +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 -// Implements optional canonicalization patterns for StableHLO ops. + 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 #include