File tree
29 files changed
+1679
-575
lines changed- externals
- include
- torch-mlir-dialects/Dialect/TMTensor/IR
- torch-mlir/Dialect/Torch/IR
- lib
- Conversion
- TorchOnnxToTorch
- TorchToLinalg
- TorchToStablehlo
- TorchToTMTensor
- TorchToTosa
- Dialect/Torch
- IR
- Transforms
- Utils
- projects/pt1
- e2e_testing
- python
- torch_mlir_e2e_test/test_suite
- torch_mlir/jit_ir_importer/build_tools
- test
- Conversion
- TorchOnnxToTorch
- TorchToLinalg
- TorchToTMTensor
- TorchToTosa
- Dialect/Torch
29 files changed
+1679
-575
lines changedSubmodule llvm-project updated 19594 files
- BUILD.bazel+14
- README.md+12-12
- WORKSPACE.bazel+2-2
- build_tools/llvm_version.txt+1-1
- docs/generated/stablehlo_optimization_passes.md+3-3
- docs/spec.md+49-30
- rfcs/20250729-buffer.md+253
- stablehlo/api/PortableApi.cpp+1-1
- stablehlo/conversions/linalg/tests/miscellaneous.mlir+7-6
- stablehlo/conversions/linalg/transforms/LegalizeToLinalgUtils.cpp+25-25
- stablehlo/conversions/linalg/transforms/MapStablehloToScalarOp.h+13-13
- stablehlo/conversions/linalg/transforms/StablehloLegalizeToLinalg.cpp+307-288
- stablehlo/conversions/linalg/transforms/StablehloToLinalgConvolution.cpp+94-93
- stablehlo/conversions/linalg/transforms/StablehloToLinalgDotProduct.cpp+19-18
- stablehlo/conversions/linalg/transforms/StablehloToLinalgRandom.cpp+2
- stablehlo/dialect/AssemblyFormat.cpp+1-1
- stablehlo/dialect/StablehloAttrs.td+9
- stablehlo/dialect/StablehloOps.cpp+34-4
- stablehlo/dialect/StablehloOps.h+10-1
- stablehlo/dialect/StablehloOps.td+10-6
- stablehlo/dialect/TypeInference.cpp+66-37
- stablehlo/dialect/Version.cpp+2-2
- stablehlo/dialect/Version.h+1-1
- stablehlo/dialect/VhloAttrs.td+3-11
- stablehlo/dialect/VhloDialect.td+1
- stablehlo/dialect/VhloOps.td+25-2
- stablehlo/dialect/VhloTypes.cpp+13
- stablehlo/dialect/VhloTypes.h+14-9
- stablehlo/dialect/VhloTypes.td+5-3
- stablehlo/integrations/c/CMakeLists.txt+2
- stablehlo/integrations/c/InterpreterDialect.cpp+20
- stablehlo/integrations/c/InterpreterDialect.h+30
- stablehlo/integrations/c/StablehloDialectApi.h+1-1
- stablehlo/integrations/c/StablehloUnifiedApi.cpp+4-1
- stablehlo/integrations/c/StablehloUnifiedApi.h+3-4
- stablehlo/integrations/python/StablehloApi.cpp+7-4
- stablehlo/integrations/python/StablehloModule.cpp+12
- stablehlo/integrations/python/mlir/dialects/InterpreterOps.td+22
- stablehlo/integrations/python/tests/stablehlo.py+112-42
- stablehlo/reference/InterpreterInstrumentWithProbe.cpp+12-2
- stablehlo/reference/NumPy.cpp+1
- stablehlo/tests/BUILD.bazel+18-1
- stablehlo/tests/infer_stablehlo.mlir+9
- stablehlo/tests/interpret/probe.mlir+11
- stablehlo/tests/test_c_compliance.c+17
- stablehlo/tests/transforms/stablehlo_aggressive_folder.mlir+190-1
- stablehlo/tests/transforms/stablehlo_aggressive_simplification.mlir+1-1
- stablehlo/tests/transforms/stablehlo_probe_instrumentation.mlir+12-1
- stablehlo/tests/transforms/stablehlo_refine_shapes.mlir+8-6
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_12_0.mlir+3.0k
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_12_0.mlir.bc
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.mlir+32-20
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo_mixed.mlir+30-8
- stablehlo/tests/vhlo/vhlo_attributes_invalid.mlir+2-11
- stablehlo/tests/vhlo/vhlo_to_version_downgrade.1_11_0.mlir+38
- stablehlo/tests/vhlo/vhlo_to_version_downgrade.1_8_0.mlir+11
- stablehlo/tests/vhlo/vhlo_to_version_downgrade.1_9_0.mlir+10
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir+18-6
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_9_0.mlir+8-4
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_11_0.mlir+29
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_1_0.mlir+8-4
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_2_0.mlir+6-2
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_4_0.mlir+9-3
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_5_0.mlir+11-5
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_6_0.mlir+8-4
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_7_0.mlir+16-8
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_8_0.mlir+3-1
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_9_0.mlir+33-11
- stablehlo/tools/CMakeLists.txt+9
- stablehlo/tools/StablehloTranslateMain.cpp+7-1
- stablehlo/transforms/MapStablehloToVhlo.h+2-2
- stablehlo/transforms/Passes.h+4-3
- stablehlo/transforms/StablehloLegalizeToVhlo.cpp+35-15
- stablehlo/transforms/StablehloRefineShapes.cpp+4
- stablehlo/transforms/VhloLegalizeToStablehlo.cpp+59-51
- stablehlo/transforms/VhloToVersion.cpp+40-10
- stablehlo/transforms/VhloToVersionPatterns.td+67-34
- stablehlo/transforms/optimization/Passes.td+8-4
- stablehlo/transforms/optimization/StablehloAggressiveFolder.cpp+638-407
- stablehlo/transforms/optimization/StablehloAggressiveSimplificationPatterns.td+5-1
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
65 |
| - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
| |||
267 | 269 |
| |
268 | 270 |
| |
269 | 271 |
| |
270 |
| - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
271 | 275 |
| |
272 | 276 |
| |
273 | 277 |
| |
|
Lines changed: 25 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8668 | 8668 |
| |
8669 | 8669 |
| |
8670 | 8670 |
| |
| 8671 | + | |
| 8672 | + | |
| 8673 | + | |
| 8674 | + | |
| 8675 | + | |
| 8676 | + | |
| 8677 | + | |
| 8678 | + | |
| 8679 | + | |
| 8680 | + | |
| 8681 | + | |
| 8682 | + | |
| 8683 | + | |
| 8684 | + | |
| 8685 | + | |
| 8686 | + | |
| 8687 | + | |
| 8688 | + | |
| 8689 | + | |
| 8690 | + | |
| 8691 | + | |
| 8692 | + | |
| 8693 | + | |
| 8694 | + | |
8671 | 8695 |
| |
8672 | 8696 |
| |
8673 | 8697 |
| |
| |||
14350 | 14374 |
| |
14351 | 14375 |
| |
14352 | 14376 |
| |
14353 |
| - | |
| 14377 | + | |
14354 | 14378 |
| |
14355 | 14379 |
| |
14356 | 14380 |
| |
|
Lines changed: 68 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1606 | 1606 |
| |
1607 | 1607 |
| |
1608 | 1608 |
| |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
1609 | 1677 |
| |
1610 | 1678 |
| |
1611 | 1679 |
| |
|
0 commit comments