File tree
8 files changed
+938
-540
lines changed- externals
- include/torch-mlir/Conversion/TorchToTosa
- lib
- Conversion/TorchToTosa
- Dialect/Torch/Utils
- test/Conversion/TorchToTosa
8 files changed
+938
-540
lines changedSubmodule llvm-project updated 4066 files
- BUILD.bazel+1-1
- WORKSPACE.bazel+2-2
- build_tools/llvm_version.txt+1-1
- docs/awesome.md+17-1
- stablehlo/conversions/linalg/transforms/Rewriters.h+3-16
- stablehlo/conversions/linalg/transforms/StablehloLegalizeToLinalg.cpp+39-38
- stablehlo/dialect/AssemblyFormat.cpp+23
- stablehlo/dialect/AssemblyFormat.h+59
- stablehlo/dialect/Base.cpp+17
- stablehlo/dialect/Base.h+3
- stablehlo/dialect/Base.td+17
- stablehlo/dialect/CMakeLists.txt+1-1
- stablehlo/dialect/StablehloAttrs.td+15
- stablehlo/dialect/StablehloBytecode.cpp+79-7
- stablehlo/dialect/StablehloEnums.td+23
- stablehlo/dialect/StablehloOps.cpp+38
- stablehlo/dialect/StablehloOps.td+19-2
- stablehlo/dialect/TypeInference.cpp+29-4
- stablehlo/dialect/TypeInference.h+9
- stablehlo/dialect/Version.cpp+3-3
- stablehlo/dialect/Version.h+1-1
- stablehlo/dialect/VhloAttrs.td+24-11
- stablehlo/dialect/VhloBytecode.cpp+74-1
- stablehlo/dialect/VhloDialect.td+1
- stablehlo/dialect/VhloEnums.td+33-1
- stablehlo/dialect/VhloOps.cpp+9-8
- stablehlo/dialect/VhloOps.td+8-1
- stablehlo/integrations/c/StablehloAttributes.cpp+67
- stablehlo/integrations/c/StablehloAttributes.h+37
- stablehlo/integrations/python/StablehloModule.cpp+44
- stablehlo/integrations/python/tests/stablehlo.py+21
- stablehlo/reference/Types.cpp+6-7
- stablehlo/tests/ops_stablehlo.mlir+40
- stablehlo/tests/ops_stablehlo_bounded_dynamism.mlir+63
- stablehlo/tests/ops_stablehlo_roundtrip.mlir+5
- stablehlo/tests/print_stablehlo.mlir+13
- stablehlo/tests/transforms/stablehlo_aggressive_simplification.mlir+11
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_9_0.mlir+3.0k
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_9_0.mlir.bc
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.mlir+31-1
- stablehlo/tests/vhlo/vhlo_attributes_invalid.mlir+26
- stablehlo/tests/vhlo/vhlo_to_version_downgrade.1_8_0.mlir+24
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_8_0.mlir+22
- stablehlo/transforms/MapStablehloToVhlo.h+1-1
- stablehlo/transforms/PassUtils.h+3-3
- stablehlo/transforms/Passes.h+5
- stablehlo/transforms/StablehloAggressiveSimplification.cpp+20-2
- stablehlo/transforms/StablehloComplexMathExpanderPatterns.td+6-3
- stablehlo/transforms/StablehloLegalizeToVhlo.cpp+24
- stablehlo/transforms/VhloLegalizeToStablehlo.cpp+24
- stablehlo/transforms/VhloToVersion.cpp+53
- stablehlo/transforms/VhloToVersionPatterns.td+16
Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 | 130 |
| |
136 | 131 |
| |
137 | 132 |
| |
|
Lines changed: 395 additions & 123 deletions
Large diffs are not rendered by default.
Lines changed: 49 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
351 | 351 |
| |
352 | 352 |
| |
353 | 353 |
| |
354 |
| - | |
| 354 | + | |
355 | 355 |
| |
356 | 356 |
| |
357 | 357 |
| |
| |||
378 | 378 |
| |
379 | 379 |
| |
380 | 380 |
| |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
381 | 386 |
| |
382 | 387 |
| |
383 | 388 |
| |
384 | 389 |
| |
385 | 390 |
| |
386 | 391 |
| |
387 |
| - | |
| 392 | + | |
388 | 393 |
| |
389 | 394 |
| |
390 | 395 |
| |
| |||
616 | 621 |
| |
617 | 622 |
| |
618 | 623 |
| |
619 |
| - | |
| 624 | + | |
620 | 625 |
| |
621 | 626 |
| |
622 | 627 |
| |
| |||
643 | 648 |
| |
644 | 649 |
| |
645 | 650 |
| |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
646 | 656 |
| |
647 | 657 |
| |
648 | 658 |
| |
649 | 659 |
| |
650 | 660 |
| |
651 | 661 |
| |
652 | 662 |
| |
653 |
| - | |
| 663 | + | |
654 | 664 |
| |
655 | 665 |
| |
656 | 666 |
| |
| |||
734 | 744 |
| |
735 | 745 |
| |
736 | 746 |
| |
737 |
| - | |
738 |
| - | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
739 | 759 |
| |
740 |
| - | |
| 760 | + | |
741 | 761 |
| |
742 | 762 |
| |
743 | 763 |
| |
| |||
973 | 993 |
| |
974 | 994 |
| |
975 | 995 |
| |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
976 | 1002 |
| |
977 | 1003 |
| |
978 | 1004 |
| |
| |||
1021 | 1047 |
| |
1022 | 1048 |
| |
1023 | 1049 |
| |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
1024 | 1055 |
| |
1025 | 1056 |
| |
1026 | 1057 |
| |
| |||
1049 | 1080 |
| |
1050 | 1081 |
| |
1051 | 1082 |
| |
1052 |
| - | |
1053 |
| - | |
1054 |
| - | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1055 | 1094 |
| |
1056 | 1095 |
| |
1057 | 1096 |
| |
|
Lines changed: 23 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| |||
301 | 302 |
| |
302 | 303 |
| |
303 | 304 |
| |
304 |
| - | |
305 |
| - | |
| 305 | + | |
| 306 | + | |
306 | 307 |
| |
307 | 308 |
| |
308 | 309 |
| |
309 | 310 |
| |
310 | 311 |
| |
311 | 312 |
| |
312 |
| - | |
313 |
| - | |
| 313 | + | |
| 314 | + | |
314 | 315 |
| |
315 | 316 |
| |
316 | 317 |
| |
317 | 318 |
| |
318 | 319 |
| |
319 |
| - | |
320 |
| - | |
| 320 | + | |
| 321 | + | |
321 | 322 |
| |
322 |
| - | |
323 |
| - | |
324 |
| - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
325 | 326 |
| |
326 |
| - | |
327 |
| - | |
328 |
| - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
329 | 330 |
| |
330 | 331 |
| |
331 | 332 |
| |
| |||
393 | 394 |
| |
394 | 395 |
| |
395 | 396 |
| |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
396 | 402 |
| |
397 | 403 |
| |
398 | 404 |
| |
| |||
488 | 494 |
| |
489 | 495 |
| |
490 | 496 |
| |
491 |
| - | |
492 |
| - | |
493 |
| - | |
494 |
| - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
495 | 501 |
| |
496 | 502 |
| |
497 | 503 |
| |
| |||
500 | 506 |
| |
501 | 507 |
| |
502 | 508 |
| |
503 |
| - | |
504 |
| - | |
505 |
| - | |
506 |
| - | |
507 |
| - | |
508 |
| - | |
509 |
| - | |
510 |
| - | |
511 |
| - | |
512 |
| - | |
513 |
| - | |
514 |
| - | |
515 | 509 |
| |
516 | 510 |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
652 | 652 |
| |
653 | 653 |
| |
654 | 654 |
| |
655 |
| - | |
| 655 | + | |
656 | 656 |
| |
657 |
| - | |
| 657 | + | |
658 | 658 |
| |
659 |
| - | |
| 659 | + | |
660 | 660 |
| |
661 |
| - | |
| 661 | + | |
662 | 662 |
| |
663 | 663 |
| |
664 | 664 |
| |
|
0 commit comments