Commit 77d0c3e
authored
Integrate LLVM at 7bfdaa51f155432346e507d8ce389802c92eb530 (#4399)
Update LLVM to
llvm/llvm-project@7bfdaa5
Update StableHLO to
openxla/stablehlo@1ef9e39
This commit make changes to the `BackendTypeConversionPass` as per this
commit:
llvm/llvm-project@d4c41b7.
This commit also adds the support for handling complex type in
`create[Zero|One]InitTensor` utility.
---------
Signed-off-by: Vivek Khandelwal <[email protected]>1 parent cb0f5dc commit 77d0c3e
File tree
6 files changed
+34
-17
lines changed- externals
- lib
- Conversion/Utils
- Dialect/TorchConversion/Transforms
- test/Conversion/TorchToLinalg
6 files changed
+34
-17
lines changedSubmodule llvm-project updated 14481 files
- BUILD.bazel+19
- MODULE.bazel+2-1
- MODULE.bazel.lock+423-1.4k
- WORKSPACE.bazel+2-2
- build_tools/llvm_version.txt+1-1
- docs/dynamism.md+3
- docs/generated/FuncBuilder.md+1-1
- docs/generated/StablehloBuilder.md+5-5
- docs/generated/stablehlo_passes.md+26
- docs/spec.md+4-4
- examples/c++/ExampleAdd.cpp+2-2
- stablehlo/conversions/linalg/tests/miscellaneous.mlir+10-1
- stablehlo/conversions/linalg/tests/pointwise.mlir+6-6
- stablehlo/conversions/linalg/transforms/LegalizeToLinalgUtils.cpp+3-3
- stablehlo/conversions/linalg/transforms/MapStablehloToScalarOp.h+194-192
- stablehlo/conversions/linalg/transforms/StablehloLegalizeToLinalg.cpp+31-19
- stablehlo/conversions/linalg/transforms/StablehloToArith.cpp+3-1
- stablehlo/conversions/linalg/transforms/StablehloToLinalgPointwise.cpp+12-14
- stablehlo/conversions/linalg/transforms/StablehloToLinalgRandom.cpp+182-179
- stablehlo/conversions/linalg/transforms/StablehloToLinalgReduce.cpp+70-70
- stablehlo/conversions/linalg/transforms/TypeConversion.cpp+5-6
- stablehlo/conversions/tosa/tests/binary.mlir+9
- stablehlo/conversions/tosa/transforms/StablehloLegalizeToTosa.cpp+60-23
- stablehlo/conversions/tosa/transforms/StablehloLegalizeToTosa.pdll+6-6
- stablehlo/conversions/tosa/transforms/StablehloQuantLegalizeToTosaRescale.cpp+9-11
- stablehlo/conversions/tosa/transforms/TosaRescaleLegalizeToStablehlo.cpp+19-19
- stablehlo/dialect/Base.cpp+1-1
- stablehlo/dialect/Base.td+1-1
- stablehlo/dialect/ChloOps.cpp+2-2
- stablehlo/dialect/StablehloOps.cpp+136-79
- stablehlo/dialect/StablehloOps.h+40-29
- stablehlo/dialect/Version.cpp+2-2
- stablehlo/dialect/Version.h+1-1
- stablehlo/dialect/VhloTypes.cpp+1-1
- stablehlo/integrations/cpp/builder/MlirBuilderTblgen.cpp+4-1
- stablehlo/integrations/cpp/builder/StablehloBuilder.cpp+26
- stablehlo/integrations/cpp/builder/StablehloBuilder.h+13
- stablehlo/integrations/cpp/builder/StablehloBuilderTest.cpp+76
- stablehlo/integrations/python/mlir/dialects/InterpreterOps.td+1-1
- stablehlo/integrations/python/tests/testdata_generator_test.py+8-22
- stablehlo/reference/InterpreterInstrumentWithProbe.cpp+2-2
- stablehlo/reference/InterpreterOps.cpp+10-9
- stablehlo/tests/BUILD.bazel+2
- stablehlo/tests/CMakeLists.txt+1
- stablehlo/tests/TestUtils.cpp+78-34
- stablehlo/tests/TestUtils.td+5
- stablehlo/tests/ops_broadcasting.mlir+322
- stablehlo/tests/transforms/stablehlo_aggressive_folder.mlir+100-15
- stablehlo/tests/transforms/stablehlo_aggressive_simplification.mlir+109
- stablehlo/tests/transforms/stablehlo_check_shape_assertions.mlir+44
- stablehlo/tests/transforms/stablehlo_refine_shapes.mlir+3-3
- stablehlo/tests/transforms/stablehlo_target_independent_optimization.mlir+26
- stablehlo/transforms/CMakeLists.txt+10
- stablehlo/transforms/ChloLegalizeToStablehlo.cpp+557-525
- stablehlo/transforms/PassUtils.cpp+6-6
- stablehlo/transforms/Passes.td+29
- stablehlo/transforms/ShapeLegalizeToStablehlo.cpp+74-66
- stablehlo/transforms/StablehloBroadcastLowering.cpp+297
- stablehlo/transforms/StablehloBroadcastLowering.h+68
- stablehlo/transforms/StablehloCanonicalizeDynamism.cpp+4-4
- stablehlo/transforms/StablehloCheckShapeAssertions.cpp+204
- stablehlo/transforms/StablehloCompatibilityExpander.cpp+18-18
- stablehlo/transforms/StablehloLegalizeCompositeToCall.cpp+6-6
- stablehlo/transforms/StablehloLegalizeDeprecatedOps.cpp+7-7
- stablehlo/transforms/StablehloLegalizeQuantToMath.cpp+263-239
- stablehlo/transforms/StablehloLegalizeQuantizedOpToQDQ.cpp+5-7
- stablehlo/transforms/StablehloLegalizeToVhlo.cpp+5-5
- stablehlo/transforms/StablehloRefineArguments.cpp+6-4
- stablehlo/transforms/StablehloRefineShapes.cpp+7-6
- stablehlo/transforms/StablehloWrapInComposite.cpp+11-9
- stablehlo/transforms/VhloLegalizeToStablehlo.cpp+6-5
- stablehlo/transforms/conversions/TypeConversion.cpp+4-4
- stablehlo/transforms/optimization/StablehloAggressiveFolder.cpp+153-25
- stablehlo/transforms/optimization/StablehloAggressiveSimplification.cpp+100-50
- stablehlo/transforms/optimization/StablehloAggressiveSimplificationPatterns.td+104-31
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
147 | 154 | | |
148 | 155 | | |
149 | 156 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
155 | 168 | | |
156 | 169 | | |
157 | 170 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
0 commit comments