Skip to content

Commit

Permalink
[NewIR] fix new ir expand op (PaddlePaddle#55327)
Browse files Browse the repository at this point in the history
* fix new ir expand op

* fix count bug

* remove useless code
  • Loading branch information
phlrain authored and cqulilujia committed Jul 24, 2023
1 parent b3c3b2e commit f125560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/ir/phi_kernel_adaptor/phi_kernel_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ void BuildScope(const ir::Block& block,
<< inner_local_scope << "]";

// int count = name_map->size();
int count = name_map->size();
int count = inner_local_scope->Size();
for (auto it = block.begin(); it != block.end(); ++it) {
ir::Operation* op = *it;

Expand Down

0 comments on commit f125560

Please sign in to comment.