Commit c246a1a
committed
[mlir][spirv] Fix verification and serialization replicated constant composites of multi-dimensional array
This fixes a bug in verification and serialization of replicated constant composite ops where the splat value can potentially be a multi-dimensional array.
Signed-off-by: Mohammadreza Ameri Mahabadian <[email protected]>1 parent 74001be commit c246a1a
File tree
3 files changed
+42
-22
lines changed- mlir
- lib
- Dialect/SPIRV/IR
- Target/SPIRV/Serialization
- test/Target/SPIRV
3 files changed
+42
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
770 | 782 | | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
| 783 | + | |
| 784 | + | |
781 | 785 | | |
782 | | - | |
783 | 786 | | |
784 | 787 | | |
785 | 788 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1127 | 1139 | | |
1128 | 1140 | | |
1129 | 1141 | | |
| |||
1137 | 1149 | | |
1138 | 1150 | | |
1139 | 1151 | | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
| 1152 | + | |
| 1153 | + | |
1150 | 1154 | | |
1151 | | - | |
1152 | 1155 | | |
1153 | 1156 | | |
1154 | 1157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
366 | 373 | | |
367 | 374 | | |
368 | 375 | | |
| |||
411 | 418 | | |
412 | 419 | | |
413 | 420 | | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
414 | 428 | | |
0 commit comments