iree: stream.timepoint.join error: operand #2 does not dominate this use
What happened?
/home/bpetkant/ws/sharktank/experiments/sharding/punet/resnet_block/def-use-stream-timepoint-order-bug/model.mlir:382:12: error: operand #2 does not dominate this use
%167 = torch.aten.convolution %157, %18, %19, %163, %164, %165, %false_148, %166, %int1_151 : !torch.vtensor<[2,12,9,11],f32>, !torch.vtensor<[4,12,5,5],f32>, !torch.vtensor<[4],f32>, !torch.list<int>, !torch.list<int>, !torch.list<int>, !torch.bool, !torch.list<int>, !torch.int -> !torch.vtensor<[2,4,7,9],f32>
^
/home/bpetkant/ws/sharktank/experiments/sharding/punet/resnet_block/def-use-stream-timepoint-order-bug/model.mlir:382:12: note: see current operation: %56 = "stream.timepoint.join"(%50, %55#13, %57#6) : (!stream.timepoint, !stream.timepoint, !stream.timepoint) -> !stream.timepoint
/home/bpetkant/ws/sharktank/experiments/sharding/punet/resnet_block/def-use-stream-timepoint-order-bug/model.mlir:382:12: note: operand defined here (op in the same block)
I get this error for both hip and llvm-cpu.
Steps to reproduce your issue
- Download def-use-stream-timepoint-order-bug.zip and extract.
- Run
compile.sh.
What component(s) does this issue relate to?
Compiler
Version information
Commit 028b90fd69
Additional context
Note that commit 8fab35ce60 is good so it is some change in-between (8fab35ce60, 028b90fd69] that caused the regression.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (11 by maintainers)
#20016 should be fine to preserve - it’s independent (or should be)