Skip to content

Commit

Permalink
LLVM/StableHLO Upgrade eaa95a1 (#2943)
Browse files Browse the repository at this point in the history
Co-authored-by: Megan Hampton <hamptonm@us.ibm.com>
  • Loading branch information
hamptonm1 and MegoHam21 committed Sep 16, 2024
1 parent 37b8393 commit fd3eb99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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 f142f8afe21bceb00fb495468aa0b5043e98c419 && cd ..
cd llvm-project && git checkout eaa95a1c2bd38332c1a4e634595f29d22b28ffea && 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 f142f8afe21bceb00fb495468aa0b5043e98c419 && cd ..
cd llvm-project && git checkout eaa95a1c2bd38332c1a4e634595f29d22b28ffea && cd ..
```

[same-as-file]: <> (utils/build-mlir.cmd)
Expand Down
2 changes: 1 addition & 1 deletion third_party/stablehlo
Submodule stablehlo updated 67 files
+18 −1 BUILD.bazel
+2 −2 WORKSPACE.bazel
+1 −1 build_tools/llvm_version.txt
+39 −2 build_tools/math/README.md
+7 −0 build_tools/math/generate_ChloDecompositionPatternsMath.py
+32 −40 build_tools/math/generate_tests.py
+43 −0 docs/generated/stablehlo_passes.md
+4 −2 docs/spec.md
+178 −0 rfcs/20240808-f8E4M3_f8E3M4.md
+0 −3 stablehlo/conversions/linalg/transforms/CMakeLists.txt
+0 −3 stablehlo/conversions/tosa/transforms/CMakeLists.txt
+3 −2 stablehlo/dialect/Base.cpp
+2 −2 stablehlo/dialect/Base.td
+1 −0 stablehlo/dialect/Version.cpp
+1 −1 stablehlo/dialect/Version.h
+23 −1 stablehlo/dialect/VhloBytecode.cpp
+1 −0 stablehlo/dialect/VhloDialect.td
+12 −0 stablehlo/dialect/VhloTypes.cpp
+6 −0 stablehlo/dialect/VhloTypes.td
+4 −4 stablehlo/integrations/c/StablehloApi.cpp
+19 −12 stablehlo/integrations/c/StablehloApi.h
+54 −0 stablehlo/integrations/c/StablehloAttributes.cpp
+33 −0 stablehlo/integrations/c/StablehloAttributes.h
+12 −44 stablehlo/integrations/python/StablehloApi.cpp
+56 −0 stablehlo/integrations/python/StablehloModule.cpp
+26 −0 stablehlo/integrations/python/tests/stablehlo.py
+17 −5 stablehlo/reference/Tensor.cpp
+2 −1 stablehlo/reference/Types.cpp
+87 −23 stablehlo/tests/chlo/chlo_legalize_to_stablehlo.mlir
+16 −0 stablehlo/tests/interpret/constant.mlir
+23 −0 stablehlo/tests/interpret/dot_general.mlir
+19 −0 stablehlo/tests/math/atan_complex128.mlir
+19 −0 stablehlo/tests/math/atan_complex64.mlir
+19 −0 stablehlo/tests/math/atan_float32.mlir
+19 −0 stablehlo/tests/math/atan_float64.mlir
+19 −0 stablehlo/tests/math/atanh_complex128.mlir
+19 −0 stablehlo/tests/math/atanh_complex64.mlir
+19 −0 stablehlo/tests/math/atanh_float32.mlir
+19 −0 stablehlo/tests/math/atanh_float64.mlir
+24 −8 stablehlo/tests/ops_stablehlo.mlir
+53 −53 stablehlo/tests/ops_stablehlo_quantized.mlir
+2 −0 stablehlo/tests/ops_stablehlo_roundtrip.mlir
+0 −0 stablehlo/tests/transforms/shape_legalize_to_stablehlo.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_aggressive_folder.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_aggressive_simplification.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_canonicalize_dynamism.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_convert_to_signless.mlir
+43 −0 stablehlo/tests/transforms/stablehlo_create_compatibility_expander.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_legalize_composite_to_call.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_legalize_deprecated_ops.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_legalize_quant_to_int.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_legalize_quantized_op_to_qdq.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_probe_instrumentation.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_refine_parameters.mlir
+0 −0 stablehlo/tests/transforms/stablehlo_refine_shapes.mlir
+2,904 −0 stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_7_0.mlir
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_7_0.mlir.bc
+16 −0 stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.mlir
+15 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_6_0.mlir
+7 −0 stablehlo/transforms/CMakeLists.txt
+1 −18 stablehlo/transforms/ChloDecompositionPatterns.td
+205 −1 stablehlo/transforms/ChloDecompositionPatternsMath.td
+7 −0 stablehlo/transforms/Passes.h
+48 −0 stablehlo/transforms/Passes.td
+1 −1 stablehlo/transforms/StablehloAggressiveFolder.cpp
+132 −0 stablehlo/transforms/StablehloCreateCompatibilityExpander.cpp
+47 −0 stablehlo/transforms/StablehloCreateCompatibilityExpanderPatterns.td
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 f142f8afe21bceb00fb495468aa0b5043e98c419 && cd ..
cd llvm-project && git checkout eaa95a1c2bd38332c1a4e634595f29d22b28ffea && cd ..

0 comments on commit fd3eb99

Please sign in to comment.