Skip to content

Commit c48ae9f

Browse files
committed
reformat names; remove unimportant dependencies; add include guards
1 parent 1928456 commit c48ae9f

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

include/sql/SQLDialect.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- BFVDialect.h - BFV dialect -----------------*- C++ -*-===//
1+
//===- SQLDialect.h - SQL dialect -----------------*- C++ -*-===//
22
//
33
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

include/sql/SQLDialect.td

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- BFVDialect.td - BFV dialect -----------*- tablegen -*-===//
1+
//===- SQLDialect.td - SQL dialect -----------*- tablegen -*-===//
22
//
33
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

include/sql/SQLOps.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- Polygeistps.h - Polygeist dialect ops --------------------*- C++ -*-===//
1+
//===- SQLOps.h - SQL dialect ops --------------------*- C++ -*-===//
22
//
33
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

include/sql/SQLOps.td

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
//===- SQLOps.td - Polygeist dialect ops ----------------*- tablegen -*-===//
1+
//===- SQLOps.td - SQL dialect ops ----------------*- tablegen -*-===//
22
//
33
// 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
//
77
//===----------------------------------------------------------------------===//
88

9-
// #ifndef SQL_OPS
10-
// #define SQL_OPS
9+
#ifndef SQL_OPS
10+
#define SQL_OPS
1111

1212
include "mlir/IR/AttrTypeBase.td"
1313
include "SQLDialect.td"
@@ -54,4 +54,4 @@ def ResultOp : SQL_Op<"get_result", [Pure]> {
5454
}
5555

5656

57-
// #endif
57+
#endif

lib/sql/CMakeLists.txt

-6
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,4 @@ MLIRSQLOpsIncGen
1010

1111
LINK_LIBS PUBLIC
1212
MLIRIR
13-
MLIRMemRefDialect
14-
MLIRLLVMDialect
15-
MLIROpenMPDialect
16-
MLIRAffineDialect
17-
MLIRSupport
18-
MLIRSCFTransforms
1913
)

0 commit comments

Comments
 (0)