Skip to content

Commit

Permalink
Update LLVM to 00128a20eec27246719d73ba427bf821883b00b4
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Essenmacher <[email protected]>
  • Loading branch information
mikeessen committed Oct 14, 2024
1 parent 29e8476 commit 4de6656
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/BuildOnLinuxOSX.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/BuildOnWindows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/Conversion/ONNXToTOSA/ONNXToTOSACommon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
// =============================================================================
//
Expand All @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions src/Conversion/ONNXToTOSA/ONNXToTOSALegalizeUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
// =============================================================================
//
Expand All @@ -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
Expand Down Expand Up @@ -91,4 +91,4 @@ mlir::Value buildOnnxToTosaPaddingConstOp(mlir::PatternRewriter &rewriter,
} // namespace tosa
} // namespace onnx_mlir

#endif // ONNXMLIR_CONVERSION_ONNXTOTOSA_TOSALEGALIZEUTILS_H
#endif // ONNXMLIR_CONVERSION_ONNXTOTOSA_TOSALEGALIZEUTILS_H
2 changes: 1 addition & 1 deletion third_party/stablehlo
Submodule stablehlo updated 56 files
+3 −3 BUILD.bazel
+13 −7 CMakeLists.txt
+5 −0 README.md
+2 −2 WORKSPACE.bazel
+1 −1 build_tools/llvm_version.txt
+4 −0 docs/_toc.yaml
+220 −0 docs/dynamism.md
+47 −13 docs/generated/stablehlo_passes.md
+752 −0 docs/images/assets/stablehlo_ecosystem.svg
+699 −0 docs/images/assets/stablehlo_ecosystem_dark.svg
+2 −2 examples/c++/ExampleAdd.cpp
+1 −1 stablehlo/conversions/tosa/transforms/StablehloQuantLegalizeToTosaRescale.cpp
+1 −1 stablehlo/conversions/tosa/transforms/TosaRescaleLegalizeToStablehlo.cpp
+1 −1 stablehlo/dialect/Base.cpp
+1 −1 stablehlo/dialect/ChloOps.h
+2 −2 stablehlo/dialect/Register.cpp
+5 −0 stablehlo/dialect/Serialization.cpp
+1 −1 stablehlo/dialect/StablehloOps.cpp
+1 −1 stablehlo/dialect/StablehloOps.h
+1 −1 stablehlo/dialect/TypeInference.cpp
+1 −1 stablehlo/dialect/Version.h
+1 −1 stablehlo/dialect/VhloTypes.cpp
+1 −3 stablehlo/integrations/c/CMakeLists.txt
+1 −1 stablehlo/reference/Api.cpp
+13 −14 stablehlo/reference/CMakeLists.txt
+1 −1 stablehlo/tests/CheckOps.h
+3 −3 stablehlo/tests/ops_stablehlo_quantized.mlir
+563 −0 stablehlo/tests/transforms/stablehlo_compatibility_expander.mlir
+0 −210 stablehlo/tests/transforms/stablehlo_create_compatibility_expander.mlir
+33 −11 stablehlo/tests/transforms/stablehlo_refine_shapes.mlir
+14 −0 stablehlo/tests/vhlo/invalid_vhlo_future.mlir
+ stablehlo/tests/vhlo/invalid_vhlo_future.mlir.bc
+1 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_10_0.mlir
+1 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_15_0.mlir
+6 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir
+1 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_17_0.mlir
+1 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_18_0.mlir
+2 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_9_0.mlir
+2 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_1_0.mlir
+2 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_2_0.mlir
+1 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_3_0.mlir
+3 −1 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_4_0.mlir
+3 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_5_0.mlir
+2 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_6_0.mlir
+2 −2 stablehlo/tools/StablehloTranslateMain.cpp
+5 −5 stablehlo/transforms/CMakeLists.txt
+9 −11 stablehlo/transforms/ChloLegalizeToStablehlo.cpp
+2 −2 stablehlo/transforms/Passes.h
+203 −169 stablehlo/transforms/Passes.td
+48 −31 stablehlo/transforms/StablehloAggressiveFolder.cpp
+104 −35 stablehlo/transforms/StablehloCompatibilityExpander.cpp
+0 −0 stablehlo/transforms/StablehloCompatibilityExpanderPatterns.td
+1 −1 stablehlo/transforms/StablehloLegalizeQDQToQuantizedOp.cpp
+3 −3 stablehlo/transforms/StablehloLegalizeQuantToMath.cpp
+1 −1 stablehlo/transforms/StablehloLegalizeQuantizedOpToQDQ.cpp
+4 −1 stablehlo/transforms/VhloToVersion.cpp
2 changes: 1 addition & 1 deletion utils/clone-mlir.sh
Original file line number Diff line number Diff line change
@@ -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 ..

0 comments on commit 4de6656

Please sign in to comment.