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 #420

Merged
merged 2 commits into from
Apr 22, 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 @@
3cf169ca160eaf5464503fbd93d73ee1d8597936
20ed5b1f45871612570d3bd447121ac43e083c6a
2 changes: 1 addition & 1 deletion third_party/stablehlo
Submodule stablehlo updated 92 files
+11 −0 BUILD.bazel
+2 −2 WORKSPACE.bazel
+1 −1 build_tools/github_actions/lint_markdown.sh
+1 −1 build_tools/llvm_version.txt
+3 −3 docs/reference.md
+144 −29 docs/spec.md
+1 −1 docs/status.md
+50 −102 rfcs/20230704-dynamism-101.md
+158 −0 rfcs/20231005-hybrid-quantization.md
+495 −0 stablehlo/conversions/linalg/tests/sparse.mlir
+3 −3 stablehlo/conversions/linalg/transforms/LegalizeToLinalgUtils.cpp
+52 −50 stablehlo/conversions/linalg/transforms/MapStablehloToScalarOp.h
+6 −1 stablehlo/conversions/linalg/transforms/Passes.td
+72 −40 stablehlo/conversions/linalg/transforms/StablehloLegalizeToLinalg.cpp
+6 −8 stablehlo/conversions/linalg/transforms/StablehloToLinalgConvolution.cpp
+3 −5 stablehlo/conversions/linalg/transforms/StablehloToLinalgDotProduct.cpp
+3 −3 stablehlo/conversions/linalg/transforms/StablehloToLinalgRandom.cpp
+3 −12 stablehlo/conversions/linalg/transforms/StablehloToLinalgReduce.cpp
+15 −32 stablehlo/conversions/tosa/transforms/StablehloLegalizeToTosa.cpp
+4 −4 stablehlo/conversions/tosa/transforms/StablehloLegalizeToTosa.pdll
+46 −9 stablehlo/dialect/AssemblyFormat.cpp
+14 −4 stablehlo/dialect/AssemblyFormat.h
+25 −25 stablehlo/dialect/Base.cpp
+54 −1 stablehlo/dialect/Base.h
+53 −15 stablehlo/dialect/Base.td
+3 −3 stablehlo/dialect/BroadcastUtils.cpp
+1 −0 stablehlo/dialect/CMakeLists.txt
+64 −59 stablehlo/dialect/ChloOps.cpp
+0 −2 stablehlo/dialect/ChloOps.td
+1 −1 stablehlo/dialect/StablehloAttrs.td
+37 −0 stablehlo/dialect/StablehloBytecode.cpp
+357 −117 stablehlo/dialect/StablehloOps.cpp
+34 −0 stablehlo/dialect/StablehloOps.h
+213 −83 stablehlo/dialect/StablehloOps.td
+645 −379 stablehlo/dialect/TypeInference.cpp
+17 −3 stablehlo/dialect/TypeInference.h
+1 −1 stablehlo/dialect/Version.h
+15 −15 stablehlo/dialect/VhloBytecode.cpp
+5 −5 stablehlo/dialect/VhloOps.cpp
+10 −10 stablehlo/dialect/VhloTypes.cpp
+5 −4 stablehlo/integrations/c/ChloAttributes.cpp
+67 −106 stablehlo/integrations/c/StablehloAttributes.cpp
+1 −1 stablehlo/integrations/c/StablehloTypes.cpp
+1 −1 stablehlo/integrations/python/StablehloModule.cpp
+3 −3 stablehlo/reference/Api.cpp
+15 −17 stablehlo/reference/Element.cpp
+2 −2 stablehlo/reference/Index.cpp
+4 −2 stablehlo/reference/Index.h
+7 −7 stablehlo/reference/InterpreterOps.cpp
+1 −1 stablehlo/reference/NumPy.cpp
+286 −7 stablehlo/reference/Ops.cpp
+10 −0 stablehlo/reference/Ops.h
+11 −11 stablehlo/reference/Tensor.cpp
+2 −2 stablehlo/reference/Types.cpp
+2 −0 stablehlo/tests/BUILD.bazel
+2 −2 stablehlo/tests/CheckOps.cpp
+72 −0 stablehlo/tests/TestUtils.cpp
+11 −0 stablehlo/tests/TestUtils.td
+419 −421 stablehlo/tests/chlo/chlo_legalize_to_stablehlo.mlir
+14 −1 stablehlo/tests/infer_stablehlo.mlir
+79 −0 stablehlo/tests/interpret/convolution.mlir
+2 −2 stablehlo/tests/interpret/tanh.mlir
+1,763 −0 stablehlo/tests/ops_speculatability.mlir
+40 −16 stablehlo/tests/ops_stablehlo.mlir
+237 −7 stablehlo/tests/ops_stablehlo_quantized.mlir
+1 −2 stablehlo/tests/print_types_invalid.mlir
+4 −4 stablehlo/tests/shape_legalize_to_stablehlo.mlir
+456 −0 stablehlo/tests/stablehlo_aggressive_simplification.mlir
+2 −2 stablehlo/tests/stablehlo_canonicalize_dynamism.mlir
+1 −1 stablehlo/tests/stablehlo_refine_shapes.mlir
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_10_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_11_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_12_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_13_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_14_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_15_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_16_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_17_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_18_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_19_0.mlir.bc
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.0_9_0.mlir.bc
+1 −1 stablehlo/tools/StablehloTranslateMain.cpp
+107 −109 stablehlo/transforms/ChloLegalizeToStablehlo.cpp
+25 −27 stablehlo/transforms/ShapeLegalizeToStablehlo.cpp
+123 −9 stablehlo/transforms/StablehloAggressiveSimplification.cpp
+2 −2 stablehlo/transforms/StablehloCanonicalizeDynamism.cpp
+2 −2 stablehlo/transforms/StablehloInstrumentWithProbe.cpp
+40 −47 stablehlo/transforms/StablehloLegalizeToVhlo.cpp
+4 −4 stablehlo/transforms/StablehloRefineArguments.cpp
+8 −8 stablehlo/transforms/StablehloRefineShapes.cpp
+90 −83 stablehlo/transforms/VhloLegalizeToStablehlo.cpp
+12 −12 stablehlo/transforms/VhloToVersion.cpp