Menooker
ee5dcdc275
[mlir] fix assertion failure in remove-dead-values (#144849)
Simple IR patterns will trigger assertion error:
```
func.func @test_zero_operands(%I: memref<10xindex>, %I2: memref<10xf32>) {
%v0 = arith.constant 0 : index
%result = memref.alloca_scope -> index {
%c = arith.addi %v0, %v0 : index
memref.store %c, %I[%v0] : memref<10xindex>
memref.alloca_scope.return %c: index
}
func.return
}
```
with error: `mlir/include/mlir/IR/Operation.h:988:
mlir::detail::OperandStorage& mlir::Operation::getOperandStorage():
Assertion `hasOperandStorage && "expected operation to have operand
storage"' failed.`
This PR will fix this issue.
---------
Co-authored-by: Andrzej Warzyński <andrzej.warzynski@gmail.com>
Co-authored-by: Mehdi Amini <joker.eph@gmail.com>
2025-06-22 23:03:36 +09:00
..
2025-04-02 11:56:13 +08:00
2025-02-04 13:49:15 -07:00
2025-04-16 18:17:09 -04:00
2025-06-19 12:52:31 -05:00
2025-06-20 13:50:25 -07:00
2025-02-25 11:24:31 +05:30
2025-06-20 11:27:35 -05:00
2025-03-24 11:41:26 -07:00
2025-06-11 12:37:34 +01:00
2025-06-21 08:20:49 -07:00
2025-06-01 23:55:32 -07:00
2025-06-20 15:45:17 +03:00
2025-06-17 14:07:20 +02:00
2025-05-15 09:19:39 +08:00
2025-06-20 10:02:09 -05:00
2025-04-21 10:25:56 -07:00
2025-06-08 12:23:38 -07:00
2025-06-16 12:40:50 +01:00
2025-05-20 23:37:27 -07:00
2025-06-20 08:09:36 -05:00
2025-01-06 21:06:17 +01:00
2025-05-25 16:42:30 +02:00
2025-06-22 23:03:36 +09:00
2025-06-18 16:15:06 -04:00
2025-06-18 16:15:06 -04:00
2025-06-18 16:15:06 -04:00