Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Integrate LLVM at llvm/llvm-project@3cf169ca #416

Merged
merged 2 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_tools/llvm_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e371ada409b225ea990b5ac0d5cafea26a6046e1
3cf169ca160eaf5464503fbd93d73ee1d8597936
2 changes: 1 addition & 1 deletion third_party/stablehlo
Submodule stablehlo updated 54 files
+8 −1 .github/workflows/buildAndTestCMake.yml
+4 −0 BUILD.bazel
+45 −0 CMakePresets.json
+2 −2 WORKSPACE.bazel
+2 −0 build_tools/github_actions/lint_check_license.sh
+1 −1 build_tools/github_actions/lint_whitespace_checks.sh
+1 −1 build_tools/llvm_version.txt
+53 −0 docs/ide.md
+18 −3 docs/spec.md
+5 −1 examples/CMakeLists.txt
+6 −4 examples/c++/BUILD.bazel
+9 −9 examples/c++/CMakeLists.txt
+23 −12 examples/c++/ExampleAdd.cpp
+38 −2 examples/c++/README.md
+15 −0 examples/python/CMakeLists.txt
+9 −0 examples/python/README.md
+37 −0 examples/python/stablehlo_add.py
+17 −0 rfcs/20230609-extensibility.md
+15 −0 stablehlo/conversions/linalg/tests/miscellaneous.mlir
+4 −2 stablehlo/conversions/linalg/transforms/LegalizeToLinalgUtils.cpp
+9 −18 stablehlo/conversions/linalg/transforms/StablehloLegalizeToLinalg.cpp
+2 −2 stablehlo/conversions/linalg/transforms/StablehloToLinalgPointwise.cpp
+2 −6 stablehlo/conversions/tosa/transforms/StablehloLegalizeToTosa.pdll
+10 −5 stablehlo/dialect/Base.cpp
+3 −0 stablehlo/dialect/Base.h
+1 −1 stablehlo/dialect/Base.td
+0 −35 stablehlo/dialect/ChloOps.cpp
+0 −53 stablehlo/dialect/ChloOps.td
+9 −9 stablehlo/dialect/StablehloOps.cpp
+9 −6 stablehlo/dialect/StablehloOps.td
+170 −346 stablehlo/dialect/TypeInference.cpp
+1 −1 stablehlo/dialect/Version.h
+1 −0 stablehlo/integrations/python/CMakeLists.txt
+37 −1 stablehlo/integrations/python/StablehloModule.cpp
+39 −9 stablehlo/integrations/python/tests/stablehlo.py
+65 −9 stablehlo/reference/Api.cpp
+10 −3 stablehlo/reference/Api.h
+2 −0 stablehlo/reference/CMakeLists.txt
+44 −18 stablehlo/reference/Tensor.cpp
+4 −1 stablehlo/reference/Tensor.h
+66 −66 stablehlo/tests/chlo/chlo_legalize_to_stablehlo.mlir
+13 −0 stablehlo/tests/infer_stablehlo.mlir
+0 −55 stablehlo/tests/ops_chlo.mlir
+0 −18 stablehlo/tests/ops_chlo_roundtrip.mlir
+4 −1 stablehlo/tests/ops_stablehlo.mlir
+0 −72 stablehlo/tests/ops_stablehlo_quantized.mlir
+12 −0 stablehlo/tests/shape_legalize_to_stablehlo.mlir
+143 −0 stablehlo/tests/stablehlo_refine_shapes.mlir
+2 −2 stablehlo/tests/verify_reduce.mlir
+5 −5 stablehlo/tools/StablehloTranslateMain.cpp
+1 −0 stablehlo/transforms/CMakeLists.txt
+3 −2 stablehlo/transforms/ChloLegalizeToStablehlo.cpp
+18 −10 stablehlo/transforms/ShapeLegalizeToStablehlo.cpp
+92 −23 stablehlo/transforms/StablehloRefineShapes.cpp