Commit 11e22b6
authored
File tree
5 files changed
+59
-55
lines changed- externals
- lib/Dialect
- TorchConversion/Transforms
- Torch/IR
- projects/pt1/e2e_testing
5 files changed
+59
-55
lines changed- BUILD.bazel+16
- CMakeLists.txt+4
- WORKSPACE.bazel+2-2
- build_tools/llvm_version.txt+1-1
- docs/generated/stablehlo_linalg_passes.md+1
- docs/generated/stablehlo_passes.md+7
- docs/generated/stablehlo_tosa_passes.md+1
- docs/spec.md+6-2
- rfcs/20241001-microscaling-formats.md+199
- stablehlo/conversions/linalg/tests/miscellaneous.mlir+19
- stablehlo/conversions/linalg/transforms/TypeConversion.cpp+9-10
- stablehlo/dialect/Base.cpp+2-19
- stablehlo/dialect/Base.td+3-2
- stablehlo/dialect/StablehloOps.cpp+44-4
- stablehlo/dialect/Version.cpp+5-2
- stablehlo/dialect/Version.h+1-1
- stablehlo/dialect/VhloBytecode.cpp+49-1
- stablehlo/dialect/VhloDialect.td+1
- stablehlo/dialect/VhloTypes.cpp+24
- stablehlo/dialect/VhloTypes.td+12
- stablehlo/reference/Tensor.cpp+15-43
- stablehlo/reference/Types.cpp+6-4
- stablehlo/testdata/igamma_float64_20_20_float64_20_20_chlo.mlir+1-1
- stablehlo/testdata/igammac_float64_20_20_float64_20_20_chlo.mlir+1-1
- stablehlo/tests/interpret/constant.mlir+32
- stablehlo/tests/ops_stablehlo.mlir+40-8
- stablehlo/tests/ops_stablehlo_quantized.mlir+53-53
- stablehlo/tests/ops_stablehlo_roundtrip.mlir+4
- stablehlo/tests/transforms/stablehlo_aggressive_folder.mlir+220
- stablehlo/tests/transforms/stablehlo_aggressive_simplification.mlir+550-526
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_8_0.mlir+2.9k
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.1_8_0.mlir.bc
- stablehlo/tests/vhlo/stablehlo_legalize_to_vhlo.mlir+32
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.1_7_0.mlir+35
- stablehlo/tests/vhlo/vhlo_to_version_downgrade_patch.mlir+15
- stablehlo/transforms/CMakeLists.txt+7-2
- stablehlo/transforms/PassUtils.cpp+31-2
- stablehlo/transforms/PassUtils.h+27-12
- stablehlo/transforms/Passes.h+5
- stablehlo/transforms/Passes.td+2
- stablehlo/transforms/StablehloAggressiveFolder.cpp+245-7
- stablehlo/transforms/StablehloAggressiveSimplification.cpp+98-492
- stablehlo/transforms/StablehloAggressiveSimplificationPatterns.td+281
- stablehlo/transforms/VhloToVersion.cpp+7
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4016 | 4016 | | |
4017 | 4017 | | |
4018 | 4018 | | |
4019 | | - | |
4020 | | - | |
4021 | | - | |
4022 | | - | |
| 4019 | + | |
| 4020 | + | |
| 4021 | + | |
4023 | 4022 | | |
4024 | 4023 | | |
4025 | 4024 | | |
| |||
Lines changed: 43 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| 509 | + | |
509 | 510 | | |
| 511 | + | |
| 512 | + | |
510 | 513 | | |
511 | 514 | | |
512 | 515 | | |
| |||
522 | 525 | | |
523 | 526 | | |
524 | 527 | | |
| 528 | + | |
| 529 | + | |
525 | 530 | | |
526 | 531 | | |
527 | 532 | | |
| |||
550 | 555 | | |
551 | 556 | | |
552 | 557 | | |
| 558 | + | |
553 | 559 | | |
554 | 560 | | |
555 | 561 | | |
| |||
739 | 745 | | |
740 | 746 | | |
741 | 747 | | |
742 | | - | |
743 | 748 | | |
744 | 749 | | |
745 | 750 | | |
| |||
841 | 846 | | |
842 | 847 | | |
843 | 848 | | |
844 | | - | |
845 | | - | |
846 | 849 | | |
847 | 850 | | |
848 | 851 | | |
| |||
878 | 881 | | |
879 | 882 | | |
880 | 883 | | |
881 | | - | |
882 | 884 | | |
883 | 885 | | |
884 | 886 | | |
| |||
1013 | 1015 | | |
1014 | 1016 | | |
1015 | 1017 | | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
1016 | 1023 | | |
1017 | 1024 | | |
1018 | 1025 | | |
| |||
3675 | 3682 | | |
3676 | 3683 | | |
3677 | 3684 | | |
3678 | | - | |
3679 | 3685 | | |
3680 | 3686 | | |
3681 | 3687 | | |
| |||
4005 | 4011 | | |
4006 | 4012 | | |
4007 | 4013 | | |
4008 | | - | |
4009 | 4014 | | |
4010 | 4015 | | |
4011 | 4016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments