From c61b86369956a0d1e411e7985074664e73ce0af6 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 10 Jul 2024 23:50:14 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 651289695 --- tensorflow/compiler/mlir/tools/kernel_gen/ir/BUILD | 1 + .../compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.cc | 4 ++++ .../compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.h | 3 +++ 3 files changed, 8 insertions(+) diff --git a/tensorflow/compiler/mlir/tools/kernel_gen/ir/BUILD b/tensorflow/compiler/mlir/tools/kernel_gen/ir/BUILD index 2862b79475a930..e32d215709cc81 100644 --- a/tensorflow/compiler/mlir/tools/kernel_gen/ir/BUILD +++ b/tensorflow/compiler/mlir/tools/kernel_gen/ir/BUILD @@ -84,6 +84,7 @@ cc_library( ":tf_status_inc_gen", "//tensorflow/core/protobuf:error_codes_proto_impl_cc", "@com_google_absl//absl/status", + "@llvm-project//llvm:Support", "@llvm-project//mlir:AllocationOpInterface", "@llvm-project//mlir:BufferizationDialect", "@llvm-project//mlir:BytecodeOpInterface", diff --git a/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.cc b/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.cc index ee295c19335ff5..75f619fe9b940e 100644 --- a/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.cc +++ b/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.cc @@ -19,11 +19,15 @@ limitations under the License. #include +#include "absl/status/status.h" +#include "llvm/Support/ErrorHandling.h" #include "mlir/Dialect/Bufferization/IR/Bufferization.h" // from @llvm-project #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/Dialect/MemRef/IR/MemRef.h" // from @llvm-project #include "mlir/IR/Builders.h" // from @llvm-project #include "mlir/IR/DialectImplementation.h" // from @llvm-project +#include "mlir/IR/Operation.h" // from @llvm-project +#include "mlir/IR/Value.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_status.cc.inc" diff --git a/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.h b/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.h index e64ef8e2900f47..1241a73d30d269 100644 --- a/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.h +++ b/tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.h @@ -27,8 +27,11 @@ limitations under the License. #include "mlir/IR/MLIRContext.h" // from @llvm-project #include "mlir/IR/OpDefinition.h" // from @llvm-project #include "mlir/IR/OpImplementation.h" // from @llvm-project +#include "mlir/IR/TypeSupport.h" // from @llvm-project +#include "mlir/IR/Types.h" // from @llvm-project #include "mlir/Interfaces/ControlFlowInterfaces.h" // from @llvm-project #include "mlir/Interfaces/SideEffectInterfaces.h" // from @llvm-project +#include "mlir/Support/LLVM.h" // from @llvm-project #include "tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_status.h.inc" #include "tensorflow/core/protobuf/error_codes.pb.h"