mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
[mlir][arith] Change dialect name from Arithmetic to Arith
Suggested by @lattner in https://discourse.llvm.org/t/rfc-define-precise-arith-semantics/65507/22. Tested with: `ninja check-mlir check-mlir-integration check-mlir-mlir-spirv-cpu-runner check-mlir-mlir-vulkan-runner check-mlir-examples` and `bazel build --config=generic_clang @llvm-project//mlir:all`. Reviewed By: lattner, Mogball, rriddle, jpienaar, mehdi_amini Differential Revision: https://reviews.llvm.org/D134762
This commit is contained in:
@@ -153,7 +153,7 @@ declare_mlir_dialect_python_bindings(
|
||||
declare_mlir_dialect_python_bindings(
|
||||
ADD_TO_PARENT MLIRPythonSources.Dialects
|
||||
ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir"
|
||||
TD_FILE dialects/ArithmeticOps.td
|
||||
TD_FILE dialects/ArithOps.td
|
||||
SOURCES
|
||||
dialects/arith.py
|
||||
dialects/_arith_ops_ext.py
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//===-- ArithmeticOps.td - Entry point for ArithmeticOps bindings ---------===//
|
||||
//===-- ArithOps.td - Entry point for ArithOps bindings ---------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
@@ -6,10 +6,10 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef PYTHON_BINDINGS_ARITHMETIC_OPS
|
||||
#define PYTHON_BINDINGS_ARITHMETIC_OPS
|
||||
#ifndef PYTHON_BINDINGS_ARITH_OPS
|
||||
#define PYTHON_BINDINGS_ARITH_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Arithmetic/IR/ArithmeticOps.td"
|
||||
include "mlir/Dialect/Arith/IR/ArithOps.td"
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user