Skip to content

Commit c1d1097

Browse files
committed
Fix licences
1 parent 767f9e0 commit c1d1097

File tree

10 files changed

+30
-16
lines changed

10 files changed

+30
-16
lines changed

include/gc/Dialect/LLVMIR/GENDialect.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//===- GENDialect.h - MLIR GEN target definitions ---------------*- C++ -*-===//
1+
//===-- GENDialect.h - MLIR GEN target definitions --------------*- C++ -*-===//
22
//
3-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//

include/gc/Dialect/LLVMIR/GenOps.td

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
//===-- GenOps.td - Gen dialect definition -----------------*- tablegen -*-===//
2+
//
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
18
#ifndef GENIR_OPS
29
#define GENIR_OPS
310

include/gc/Target/LLVM/GEN/Target.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//===- Target.h - MLIR GEN target registration ------------------*- C++ -*-===//
1+
//===-- Target.h - MLIR GEN target registration -----------------*- C++ -*-===//
22
//
3-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//

include/gc/Target/LLVM/GEN/Utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//===- Utils.h - MLIR GEN target utils --------------------------*- C++ -*-===//
1+
//===-- Utils.h - MLIR GEN target utils -------------------------*- C++ -*-===//
22
//
3-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//

include/gc/Target/LLVMIR/Dialect/GEN/GENToLLVMIRTranslation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//===- GENToLLVMIRTranslation.h - GEN to LLVM IR ----------------*- C++ -*-===//
1+
//===-- GENToLLVMIRTranslation.h - GEN to LLVM IR ---------------*- C++ -*-===//
22
//
3-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//

lib/gc/Dialect/LLVMIR/IR/GENDialect.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
//===-- GENDialect.cpp - GEN Attrs and dialect registration -----*- C++ -*-===//
2+
//
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
18
#include "gc/Dialect/LLVMIR/GENDialect.h"
29

310
#include "mlir/Dialect/GPU/IR/CompilationInterfaces.h"

lib/gc/Target/LLVM/GEN/Target.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//===- Target.cpp - MLIR LLVM GEN target compilation ------------*- C++ -*-===//
1+
//===-- Target.cpp - MLIR LLVM GEN target compilation -----------*- C++ -*-===//
22
//
3-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//

lib/gc/Target/LLVMIR/Dialect/GEN/GENToLLVMIRTranslation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//===- GENToLLVMIRTranslation.cpp - Translate GEN to LLVM IR --------------===//
1+
//===-- GENToLLVMIRTranslation.cpp - Translate GEN to LLVM IR ---*- C++ -*-===//
22
//
3-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//

lib/gc/Transforms/GPU/GPUOpsLowering.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//===- GPUOpsLowering.h - GPU FuncOp / ReturnOp lowering -------*- C++ -*--===//
1+
//===- GPUOpsLowering.h - GPU FuncOp / ReturnOp lowering --------*- C++ -*-===//
22
//
3-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3+
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//

lib/gc/Transforms/GPU/LinalgToXeGPU.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ static std::optional<Value> lowerEltwiseOp(linalg::LinalgOp linalgOp,
350350
// Unhandled type. Bail out.
351351
return std::nullopt;
352352
})
353-
.Case([&](linalg::NegfOp negfOp) -> std::optional<Value> {
353+
.Case([&](linalg::NegFOp negfOp) -> std::optional<Value> {
354354
assert(operands.size() == 1 && "Invalid number of operands for negf");
355355
return rewriter.create<arith::NegFOp>(loc, resType, operands[0])
356356
.getResult();
@@ -1390,7 +1390,7 @@ void populateLinalgEltwiseToXeGPUPatterns(RewritePatternSet &patterns,
13901390
ConvertNamedEltwiseToXeGPU<linalg::FloorOp>,
13911391
ConvertNamedEltwiseToXeGPU<linalg::MaxOp>,
13921392
ConvertNamedEltwiseToXeGPU<linalg::MulOp>,
1393-
ConvertNamedEltwiseToXeGPU<linalg::NegfOp>,
1393+
ConvertNamedEltwiseToXeGPU<linalg::NegFOp>,
13941394
ConvertNamedEltwiseToXeGPU<linalg::SubOp>>(patterns.getContext(),
13951395
options);
13961396
}

0 commit comments

Comments
 (0)