Skip to content

Commit ed1a64e

Browse files
yifan.chencharlesxzb
authored andcommitted
fix: bm1684 not support layergroup multi-branch case
- bm1684 not support layergroup multi-branch case for StoreOp Change-Id: Ia18c6322aed5310ae21d36d602d002e46991871f
1 parent ed0d200 commit ed1a64e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/Dialect/Tpu/Transforms/LayerGroup/LayerGroupUtil.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,6 +2223,9 @@ static bool backward_update_slice(
22232223
for (auto user : pre_op->getUsers()) {
22242224
if (std::find(lg_info.group_ops.begin(), lg_info.group_ops.end(),
22252225
user) == lg_info.group_ops.end()) {
2226+
if (module::isBM1684Family()) {
2227+
return false;
2228+
}
22262229
continue;
22272230
}
22282231
if (!is_c_slice_or_other_op(user)) {

0 commit comments

Comments
 (0)