Integrate LLVM at https://github.com/llvm/llvm-project/commit/58bc507b6fe6
PiperOrigin-RevId: 311289597 Change-Id: I1471895afdb961a19df531bc566898e486162d96
This commit is contained in:
parent
9083aa48e7
commit
5eb1be5023
tensorflow/compiler/mlir
lite
tensorflow
tfjs
tfrt
xla
third_party/mlir
@ -31,7 +31,7 @@ filegroup(
|
||||
"//tensorflow/compiler/mlir/lite/quantization:quantization_td_files",
|
||||
"@llvm-project//mlir:OpBaseTdFiles",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/LoopLikeInterface.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffects.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -20,7 +20,7 @@ limitations under the License.
|
||||
|
||||
include "mlir/IR/OpBase.td"
|
||||
include "mlir/Interfaces/LoopLikeInterface.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
include "tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td"
|
||||
include "tensorflow/compiler/mlir/lite/quantization/quantization.td"
|
||||
|
||||
|
@ -36,7 +36,7 @@ filegroup(
|
||||
"@llvm-project//mlir:OpBaseTdFiles",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/CallInterfaces.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/InferTypeOpInterface.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffects.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
],
|
||||
)
|
||||
|
||||
@ -1075,7 +1075,7 @@ genrule(
|
||||
srcs = [
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/CallInterfaces.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/InferTypeOpInterface.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffects.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
"@llvm-project//mlir:include/mlir/IR/OpBase.td",
|
||||
"ir/tf_generated_ops.td",
|
||||
"ir/tf_op_base.td",
|
||||
|
@ -23,7 +23,7 @@ limitations under the License.
|
||||
#define TF_OP_BASE
|
||||
|
||||
include "mlir/IR/OpBase.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
include "tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.td"
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -40,7 +40,7 @@ gentbl(
|
||||
"ir/tfjs_ops.td",
|
||||
"@llvm-project//mlir:OpBaseTdFiles",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/LoopLikeInterface.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffects.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -23,7 +23,7 @@ limitations under the License.
|
||||
#define TFJS_DIALECT
|
||||
|
||||
include "mlir/IR/OpBase.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// TensorFlow.js dialect definitions
|
||||
|
@ -40,7 +40,7 @@ filegroup(
|
||||
srcs = [
|
||||
"runtime_fallback/runtime_fallback_ops.td",
|
||||
"@llvm-project//mlir:OpBaseTdFiles",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffects.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
"@tf_runtime//:OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
|
@ -20,7 +20,7 @@ limitations under the License.
|
||||
#define TFRT_DELEGATE_DIALECT
|
||||
|
||||
include "tfrt/tfrt_op_base.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Type definitions
|
||||
|
@ -38,7 +38,7 @@ filegroup(
|
||||
"ir/lhlo_ops.td",
|
||||
"@llvm-project//mlir:OpBaseTdFiles",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/InferTypeOpInterface.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffects.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
],
|
||||
)
|
||||
|
||||
@ -822,7 +822,7 @@ genrule(
|
||||
name = "operator_writer_inc",
|
||||
srcs = [
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/InferTypeOpInterface.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffects.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
"@llvm-project//mlir:include/mlir/IR/OpBase.td",
|
||||
":ir/hlo_ops.td",
|
||||
":ir/hlo_ops_base.td",
|
||||
|
@ -31,7 +31,7 @@ limitations under the License.
|
||||
|
||||
include "mlir/IR/OpBase.td"
|
||||
include "mlir/Interfaces/InferTypeOpInterface.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
include "tensorflow/compiler/mlir/xla/ir/hlo_ops_base.td"
|
||||
|
||||
def HLOClient_Dialect : Dialect {
|
||||
|
@ -23,7 +23,7 @@ limitations under the License.
|
||||
|
||||
include "mlir/IR/OpBase.td"
|
||||
include "mlir/Interfaces/InferTypeOpInterface.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
include "tensorflow/compiler/mlir/xla/ir/hlo_ops_base.td"
|
||||
include "tensorflow/compiler/mlir/xla/ir/hlo_utils.td"
|
||||
|
||||
|
@ -19,7 +19,7 @@ limitations under the License.
|
||||
#define LHLO_OPS
|
||||
|
||||
include "mlir/IR/OpBase.td"
|
||||
include "mlir/Interfaces/SideEffects.td"
|
||||
include "mlir/Interfaces/SideEffectInterfaces.td"
|
||||
include "tensorflow/compiler/mlir/xla/ir/hlo_ops_base.td"
|
||||
|
||||
def LHLO_Dialect : Dialect {
|
||||
|
24
third_party/mlir/BUILD
vendored
24
third_party/mlir/BUILD
vendored
@ -178,7 +178,7 @@ filegroup(
|
||||
"include/mlir/Dialect/Affine/IR/AffineOps.td",
|
||||
"include/mlir/Dialect/Affine/IR/AffineOpsBase.td",
|
||||
"include/mlir/Interfaces/LoopLikeInterface.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
@ -217,7 +217,7 @@ filegroup(
|
||||
"include/mlir/Dialect/AVX512/AVX512.td",
|
||||
"include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
|
||||
"include/mlir/IR/OpBase.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
],
|
||||
)
|
||||
|
||||
@ -302,7 +302,7 @@ filegroup(
|
||||
"include/mlir/Dialect/SCF/SCFOps.td",
|
||||
"include/mlir/Interfaces/ControlFlowInterfaces.td",
|
||||
"include/mlir/Interfaces/LoopLikeInterface.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
@ -374,7 +374,7 @@ filegroup(
|
||||
"include/mlir/IR/OpAsmInterface.td",
|
||||
"include/mlir/Interfaces/CallInterfaces.td",
|
||||
"include/mlir/Interfaces/ControlFlowInterfaces.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
"include/mlir/Interfaces/ViewLikeInterface.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
@ -997,7 +997,7 @@ filegroup(
|
||||
"include/mlir/Dialect/GPU/GPUOps.td",
|
||||
"include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
|
||||
"include/mlir/IR/SymbolInterfaces.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
@ -1130,7 +1130,7 @@ filegroup(
|
||||
"include/mlir/Dialect/LLVMIR/LLVMOps.td",
|
||||
"include/mlir/IR/SymbolInterfaces.td",
|
||||
"include/mlir/Interfaces/ControlFlowInterfaces.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
@ -1417,7 +1417,7 @@ filegroup(
|
||||
srcs = [
|
||||
"include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
|
||||
"include/mlir/Dialect/LLVMIR/NVVMOps.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
@ -1489,7 +1489,7 @@ filegroup(
|
||||
srcs = [
|
||||
"include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
|
||||
"include/mlir/Dialect/LLVMIR/ROCDLOps.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
@ -1541,7 +1541,7 @@ filegroup(
|
||||
"include/mlir/IR/SymbolInterfaces.td",
|
||||
"include/mlir/Interfaces/CallInterfaces.td",
|
||||
"include/mlir/Interfaces/ControlFlowInterfaces.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
":OpBaseTdFiles",
|
||||
] + glob(["include/mlir/Dialect/SPIRV/*.td"]),
|
||||
)
|
||||
@ -2244,7 +2244,7 @@ gentbl(
|
||||
),
|
||||
],
|
||||
tblgen = ":mlir-tblgen",
|
||||
td_file = "include/mlir/Interfaces/SideEffects.td",
|
||||
td_file = "include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
td_srcs = [
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
@ -2910,7 +2910,7 @@ filegroup(
|
||||
srcs = [
|
||||
"include/mlir/Dialect/Quant/QuantOps.td",
|
||||
"include/mlir/Dialect/Quant/QuantOpsBase.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
@ -3390,7 +3390,7 @@ exports_files(
|
||||
"include/mlir/Interfaces/CallInterfaces.td",
|
||||
"include/mlir/Interfaces/ControlFlowInterfaces.h",
|
||||
"include/mlir/Interfaces/ControlFlowInterfaces.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
"include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
"include/mlir/Interfaces/ViewLikeInterface.td",
|
||||
"include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
|
||||
"include/mlir/Dialect/StandardOps/IR/Ops.td",
|
||||
|
2
third_party/mlir/test.BUILD
vendored
2
third_party/mlir/test.BUILD
vendored
@ -77,7 +77,7 @@ gentbl(
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/CallInterfaces.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/ControlFlowInterfaces.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/InferTypeOpInterface.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffects.td",
|
||||
"@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
|
||||
],
|
||||
test = True,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user