Commit 8158fb6
authored
File tree
25 files changed
+1322
-232
lines changed- externals
- include/torch-mlir/Dialect/Torch/IR
- lib
- Conversion
- TorchOnnxToTorch
- TorchToLinalg
- TorchToTosa
- Dialect
- TorchConversion/Transforms
- Torch
- IR
- Transforms
- projects/pt1
- e2e_testing
- python
- torch_mlir_e2e_test/test_suite
- torch_mlir/jit_ir_importer/build_tools
- test
- CAPI
- Conversion
- TorchOnnxToTorch
- TorchToLinalg
- TorchToTosa
- Dialect/Torch
25 files changed
+1322
-232
lines changedSubmodule llvm-project updated 3644 files
- 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
Lines changed: 141 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
312 | 367 | | |
313 | 368 | | |
314 | 369 | | |
| |||
7352 | 7407 | | |
7353 | 7408 | | |
7354 | 7409 | | |
| 7410 | + | |
7355 | 7411 | | |
7356 | 7412 | | |
7357 | 7413 | | |
| |||
8079 | 8135 | | |
8080 | 8136 | | |
8081 | 8137 | | |
| 8138 | + | |
8082 | 8139 | | |
8083 | 8140 | | |
8084 | 8141 | | |
| |||
9671 | 9728 | | |
9672 | 9729 | | |
9673 | 9730 | | |
| 9731 | + | |
9674 | 9732 | | |
9675 | 9733 | | |
9676 | 9734 | | |
| |||
9695 | 9753 | | |
9696 | 9754 | | |
9697 | 9755 | | |
| 9756 | + | |
9698 | 9757 | | |
9699 | 9758 | | |
9700 | 9759 | | |
| |||
14085 | 14144 | | |
14086 | 14145 | | |
14087 | 14146 | | |
| 14147 | + | |
| 14148 | + | |
| 14149 | + | |
| 14150 | + | |
| 14151 | + | |
| 14152 | + | |
| 14153 | + | |
| 14154 | + | |
| 14155 | + | |
| 14156 | + | |
| 14157 | + | |
| 14158 | + | |
| 14159 | + | |
| 14160 | + | |
| 14161 | + | |
| 14162 | + | |
| 14163 | + | |
| 14164 | + | |
| 14165 | + | |
| 14166 | + | |
| 14167 | + | |
| 14168 | + | |
| 14169 | + | |
| 14170 | + | |
| 14171 | + | |
| 14172 | + | |
| 14173 | + | |
| 14174 | + | |
| 14175 | + | |
| 14176 | + | |
| 14177 | + | |
| 14178 | + | |
| 14179 | + | |
| 14180 | + | |
| 14181 | + | |
| 14182 | + | |
| 14183 | + | |
| 14184 | + | |
| 14185 | + | |
| 14186 | + | |
| 14187 | + | |
| 14188 | + | |
| 14189 | + | |
| 14190 | + | |
| 14191 | + | |
| 14192 | + | |
| 14193 | + | |
| 14194 | + | |
| 14195 | + | |
| 14196 | + | |
| 14197 | + | |
| 14198 | + | |
| 14199 | + | |
14088 | 14200 | | |
14089 | 14201 | | |
14090 | 14202 | | |
| |||
16861 | 16973 | | |
16862 | 16974 | | |
16863 | 16975 | | |
| 16976 | + | |
| 16977 | + | |
| 16978 | + | |
| 16979 | + | |
| 16980 | + | |
| 16981 | + | |
| 16982 | + | |
| 16983 | + | |
| 16984 | + | |
| 16985 | + | |
| 16986 | + | |
| 16987 | + | |
| 16988 | + | |
| 16989 | + | |
| 16990 | + | |
| 16991 | + | |
| 16992 | + | |
| 16993 | + | |
| 16994 | + | |
| 16995 | + | |
| 16996 | + | |
| 16997 | + | |
| 16998 | + | |
| 16999 | + | |
| 17000 | + | |
| 17001 | + | |
| 17002 | + | |
| 17003 | + | |
| 17004 | + | |
16864 | 17005 | | |
16865 | 17006 | | |
16866 | 17007 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | 1090 | | |
1094 | 1091 | | |
1095 | 1092 | | |
| |||
1136 | 1133 | | |
1137 | 1134 | | |
1138 | 1135 | | |
| 1136 | + | |
1139 | 1137 | | |
1140 | 1138 | | |
1141 | 1139 | | |
1142 | 1140 | | |
1143 | 1141 | | |
1144 | 1142 | | |
1145 | 1143 | | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
1146 | 1172 | | |
1147 | 1173 | | |
1148 | 1174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | 1128 | | |
1147 | 1129 | | |
1148 | 1130 | | |
1149 | | - | |
| 1131 | + | |
1150 | 1132 | | |
1151 | 1133 | | |
1152 | 1134 | | |
1153 | 1135 | | |
1154 | 1136 | | |
1155 | | - | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
1156 | 1157 | | |
1157 | 1158 | | |
1158 | 1159 | | |
1159 | 1160 | | |
1160 | 1161 | | |
1161 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
1162 | 1172 | | |
| 1173 | + | |
1163 | 1174 | | |
1164 | 1175 | | |
1165 | 1176 | | |
1166 | 1177 | | |
1167 | 1178 | | |
1168 | | - | |
1169 | | - | |
1170 | | - | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | 1179 | | |
1177 | 1180 | | |
1178 | 1181 | | |
| |||
0 commit comments