diff --git a/docs/BuildOnLinuxOSX.md b/docs/BuildOnLinuxOSX.md index fd93b7e69b..d3917e6c9c 100644 --- a/docs/BuildOnLinuxOSX.md +++ b/docs/BuildOnLinuxOSX.md @@ -15,7 +15,7 @@ Firstly, install MLIR (as a part of LLVM-Project): ``` bash git clone -n https://github.com/llvm/llvm-project.git # Check out a specific branch that is known to work with ONNX-MLIR. -cd llvm-project && git checkout 29b92d07746fac26cd64c914bc9c5c3833974f6d && cd .. +cd llvm-project && git checkout 00128a20eec27246719d73ba427bf821883b00b4 && cd .. ``` [same-as-file]: <> (utils/build-mlir.sh) diff --git a/docs/BuildOnWindows.md b/docs/BuildOnWindows.md index 7a891c62ef..2d1628aa1a 100644 --- a/docs/BuildOnWindows.md +++ b/docs/BuildOnWindows.md @@ -52,7 +52,7 @@ Install MLIR (as a part of LLVM-Project): ```shell git clone -n https://github.com/llvm/llvm-project.git # Check out a specific branch that is known to work with ONNX-MLIR. -cd llvm-project && git checkout 29b92d07746fac26cd64c914bc9c5c3833974f6d && cd .. +cd llvm-project && git checkout 00128a20eec27246719d73ba427bf821883b00b4 && cd .. ``` [same-as-file]: <> (utils/build-mlir.cmd) diff --git a/src/Conversion/ONNXToTOSA/ONNXToTOSACommon.hpp b/src/Conversion/ONNXToTOSA/ONNXToTOSACommon.hpp index d5ef2d5053..d7bdaaf77c 100644 --- a/src/Conversion/ONNXToTOSA/ONNXToTOSACommon.hpp +++ b/src/Conversion/ONNXToTOSA/ONNXToTOSACommon.hpp @@ -5,7 +5,7 @@ //====------ ONNXToTOSACommon.hpp - ONNX dialects to TOSA lowering --------===// // // Copyright 2020-2024 The TensorFlow Authors. All Rights Reserved. -// Copyright (c) 2022-2023 Advanced Micro Devices, Inc. +// Copyright (c) 2022-2024 Advanced Micro Devices, Inc. // // ============================================================================= // @@ -19,7 +19,7 @@ #include "DialectBuilder.hpp" #include "ONNXToTOSALegalizeUtils.hpp" -#include "mlir/Dialect/Quant/QuantTypes.h" +#include "mlir/Dialect/Quant/IR/QuantTypes.h" #include "mlir/Dialect/Tosa/IR/TosaOps.h" #include "mlir/IR/MLIRContext.h" diff --git a/src/Conversion/ONNXToTOSA/ONNXToTOSALegalizeUtils.hpp b/src/Conversion/ONNXToTOSA/ONNXToTOSALegalizeUtils.hpp index 0343c79027..bcd5c7c128 100644 --- a/src/Conversion/ONNXToTOSA/ONNXToTOSALegalizeUtils.hpp +++ b/src/Conversion/ONNXToTOSA/ONNXToTOSALegalizeUtils.hpp @@ -4,8 +4,8 @@ //==== ONNXToTosaLegalizeUtils.hpp - ONNX dialects to TOSA lowering Utils-===// // -// Copyright 2020 The TensorFlow Authors. All Rights Reserved. -// Copyright (c) 2022-2023 Advanced Micro Devices, Inc. +// Copyright 2020-2024 The TensorFlow Authors. All Rights Reserved. +// Copyright (c) 2022-2024 Advanced Micro Devices, Inc. // // ============================================================================= // @@ -17,7 +17,7 @@ #ifndef ONNXMLIR_CONVERSION_ONNXTOTOSA_TOSALEGALIZEUTILS_H #define ONNXMLIR_CONVERSION_ONNXTOTOSA_TOSALEGALIZEUTILS_H -#include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project +#include "mlir/Dialect/Quant/IR/QuantTypes.h" // from @llvm-project #include "mlir/Dialect/Tosa/IR/TosaOps.h" // from @llvm-project #include "mlir/Dialect/Tosa/Utils/ShapeUtils.h" // from @llvm-project #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project @@ -91,4 +91,4 @@ mlir::Value buildOnnxToTosaPaddingConstOp(mlir::PatternRewriter &rewriter, } // namespace tosa } // namespace onnx_mlir -#endif // ONNXMLIR_CONVERSION_ONNXTOTOSA_TOSALEGALIZEUTILS_H \ No newline at end of file +#endif // ONNXMLIR_CONVERSION_ONNXTOTOSA_TOSALEGALIZEUTILS_H diff --git a/third_party/stablehlo b/third_party/stablehlo index 9d9290dc23..8dd667a74e 160000 --- a/third_party/stablehlo +++ b/third_party/stablehlo @@ -1 +1 @@ -Subproject commit 9d9290dc2308c1850cea69ea05f8c94017e484ee +Subproject commit 8dd667a74ea1a7330390a0ba343d7c4c6f2d834d diff --git a/utils/clone-mlir.sh b/utils/clone-mlir.sh index 6bc5bdcb8a..38b2320ce5 100644 --- a/utils/clone-mlir.sh +++ b/utils/clone-mlir.sh @@ -1,3 +1,3 @@ git clone -n https://github.com/llvm/llvm-project.git # Check out a specific branch that is known to work with ONNX-MLIR. -cd llvm-project && git checkout 29b92d07746fac26cd64c914bc9c5c3833974f6d && cd .. +cd llvm-project && git checkout 00128a20eec27246719d73ba427bf821883b00b4 && cd ..