Skip to content
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 externals/llvm-project
Submodule llvm-project updated 19594 files
2 changes: 1 addition & 1 deletion externals/stablehlo
Submodule stablehlo updated 80 files
+14 −0 BUILD.bazel
+12 −12 README.md
+2 −2 WORKSPACE.bazel
+1 −1 build_tools/llvm_version.txt
+3 −3 docs/generated/stablehlo_optimization_passes.md
+49 −30 docs/spec.md
+253 −0 rfcs/20250729-buffer.md
+1 −1 stablehlo/api/PortableApi.cpp
+7 −6 stablehlo/conversions/linalg/tests/miscellaneous.mlir
+25 −25 stablehlo/conversions/linalg/transforms/LegalizeToLinalgUtils.cpp
+13 −13 stablehlo/conversions/linalg/transforms/MapStablehloToScalarOp.h
+307 −288 stablehlo/conversions/linalg/transforms/StablehloLegalizeToLinalg.cpp
+94 −93 stablehlo/conversions/linalg/transforms/StablehloToLinalgConvolution.cpp
+19 −18 stablehlo/conversions/linalg/transforms/StablehloToLinalgDotProduct.cpp
+2 −0 stablehlo/conversions/linalg/transforms/StablehloToLinalgRandom.cpp
+1 −1 stablehlo/dialect/AssemblyFormat.cpp
+9 −0 stablehlo/dialect/StablehloAttrs.td
+34 −4 stablehlo/dialect/StablehloOps.cpp
+10 −1 stablehlo/dialect/StablehloOps.h
+10 −6 stablehlo/dialect/StablehloOps.td
+66 −37 stablehlo/dialect/TypeInference.cpp
+2 −2 stablehlo/dialect/Version.cpp
+1 −1 stablehlo/dialect/Version.h
+3 −11 stablehlo/dialect/VhloAttrs.td
+1 −0 stablehlo/dialect/VhloDialect.td
+25 −2 stablehlo/dialect/VhloOps.td
+13 −0 stablehlo/dialect/VhloTypes.cpp
+14 −9 stablehlo/dialect/VhloTypes.h
+5 −3 stablehlo/dialect/VhloTypes.td
+2 −0 stablehlo/integrations/c/CMakeLists.txt
+20 −0 stablehlo/integrations/c/InterpreterDialect.cpp
+30 −0 stablehlo/integrations/c/InterpreterDialect.h
+1 −1 stablehlo/integrations/c/StablehloDialectApi.h
+4 −1 stablehlo/integrations/c/StablehloUnifiedApi.cpp
+3 −4 stablehlo/integrations/c/StablehloUnifiedApi.h
+7 −4 stablehlo/integrations/python/StablehloApi.cpp
+12 −0 stablehlo/integrations/python/StablehloModule.cpp
+22 −0 stablehlo/integrations/python/mlir/dialects/InterpreterOps.td
+112 −42 stablehlo/integrations/python/tests/stablehlo.py
+12 −2 stablehlo/reference/InterpreterInstrumentWithProbe.cpp
+1 −0 stablehlo/reference/NumPy.cpp
+18 −1 stablehlo/tests/BUILD.bazel
+9 −0 stablehlo/tests/infer_stablehlo.mlir
+11 −0 stablehlo/tests/interpret/probe.mlir
+17 −0 stablehlo/tests/test_c_compliance.c
+190 −1 stablehlo/tests/transforms/stablehlo_aggressive_folder.mlir
+1 −1 stablehlo/tests/transforms/stablehlo_aggressive_simplification.mlir
+12 −1 stablehlo/tests/transforms/stablehlo_probe_instrumentation.mlir
+8 −6 stablehlo/tests/transforms/stablehlo_refine_shapes.mlir
+2,979 −0 stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_12_0.mlir
+ stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_12_0.mlir.bc
+32 −20 stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.mlir
+30 −8 stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo_mixed.mlir
+2 −11 stablehlo/tests/vhlo/vhlo_attributes_invalid.mlir
+38 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade.1_11_0.mlir
+11 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade.1_8_0.mlir
+10 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade.1_9_0.mlir
+18 −6 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir
+8 −4 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_9_0.mlir
+29 −0 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_11_0.mlir
+8 −4 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_1_0.mlir
+6 −2 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_2_0.mlir
+9 −3 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_4_0.mlir
+11 −5 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_5_0.mlir
+8 −4 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_6_0.mlir
+16 −8 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_7_0.mlir
+3 −1 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_8_0.mlir
+33 −11 stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_9_0.mlir
+9 −0 stablehlo/tools/CMakeLists.txt
+7 −1 stablehlo/tools/StablehloTranslateMain.cpp
+2 −2 stablehlo/transforms/MapStablehloToVhlo.h
+4 −3 stablehlo/transforms/Passes.h
+35 −15 stablehlo/transforms/StablehloLegalizeToVhlo.cpp
+4 −0 stablehlo/transforms/StablehloRefineShapes.cpp
+59 −51 stablehlo/transforms/VhloLegalizeToStablehlo.cpp
+40 −10 stablehlo/transforms/VhloToVersion.cpp
+67 −34 stablehlo/transforms/VhloToVersionPatterns.td
+8 −4 stablehlo/transforms/optimization/Passes.td
+638 −407 stablehlo/transforms/optimization/StablehloAggressiveFolder.cpp
+5 −1 stablehlo/transforms/optimization/StablehloAggressiveSimplificationPatterns.td
4 changes: 2 additions & 2 deletions projects/pt1/e2e_testing/xfail_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@
"AtenNonzero1DDynamicModule_basic", # no lowering for torch.aten.sym_constrain_range_for_size
"Aten_TrilinearModuleVaryingRanks_basic",
"Aten_TrilinearModuleZerodDimBug_basic",
"AvgPool2dCHWModule_basic",
"QuantizedReluInt32_basic",
"QuantizedReluInt8_basic",
"QuantizedReluUint8_basic",
Expand Down Expand Up @@ -502,7 +501,6 @@
"AdaptiveAvgPool1dGeneralDynamic_basic",
"AdaptiveAvgPool1dStaticEvenMultiple_basic",
"AdaptiveAvgPool1dStaticLargerOutput_basic",
"AdaptiveAvgPool2dDynamicNoBatch_basic",
"AdaptiveAvgPool2dDynamic_basic",
"AdaptiveMaxPool1dDynamicNoBatch_basic",
"AdaptiveMaxPool1dDynamic_basic",
Expand Down Expand Up @@ -545,6 +543,8 @@
"AvgPool2dSingleIntTupleParamsModule_basic",
"SliceOutOfLowerBoundEndIndexModule_basic",
"RollModule_basic",
"AdaptiveAvgPool2dDynamicNoBatch_basic",
"AvgPool2dCHWModule_basic",
}

FX_IMPORTER_STABLEHLO_XFAIL_SET = {
Expand Down
Loading