From 816371e55a8f95b1bbb94cdfa3980c02717cb2a1 Mon Sep 17 00:00:00 2001 From: TFRT team Date: Tue, 2 Jul 2024 22:48:37 -0700 Subject: [PATCH] Integrate LLVM at llvm/llvm-project@efefee28a41e Updates LLVM usage to match [efefee28a41e](https://github.com/llvm/llvm-project/commit/efefee28a41e) PiperOrigin-RevId: 648950762 --- include/tfrt/bef_converter/mlir_to_bef_translate.h | 3 +-- include/tfrt/support/forward_decls.h | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/tfrt/bef_converter/mlir_to_bef_translate.h b/include/tfrt/bef_converter/mlir_to_bef_translate.h index bf6334fc195..7d0781ed80e 100644 --- a/include/tfrt/bef_converter/mlir_to_bef_translate.h +++ b/include/tfrt/bef_converter/mlir_to_bef_translate.h @@ -23,12 +23,11 @@ namespace mlir { class ModuleOp; -struct LogicalResult; } // namespace mlir namespace tfrt { -mlir::LogicalResult MLIRToBEFTranslate(mlir::ModuleOp module, +llvm::LogicalResult MLIRToBEFTranslate(mlir::ModuleOp module, llvm::raw_ostream& output); } diff --git a/include/tfrt/support/forward_decls.h b/include/tfrt/support/forward_decls.h index c3a42504d96..3b0ca21146b 100644 --- a/include/tfrt/support/forward_decls.h +++ b/include/tfrt/support/forward_decls.h @@ -25,6 +25,7 @@ #include "llvm/Support/Casting.h" #include "llvm/Support/ErrorHandling.h" +#include "llvm/Support/LogicalResult.h" // We don't forward declare: // DenseMap, SmallVector, StringMap, StringSet @@ -32,6 +33,7 @@ namespace llvm { class raw_ostream; +struct LogicalResult; template class ArrayRef;