Commit Graph

2 Commits

Author SHA1 Message Date
Hoai Linh Tran h00472437 46c590b787 Add new flag to watch for the need of Renormalize pass when parsing the python input program
Signed-off-by: Hoai Linh Tran h00472437 <hoai.linh.tran@huawei.com>

Add optimizer checking: For a group of passes in "optimizer", if flagged then it will check and collect the newly generated nodes without types (i.e. abstract() == nullptr).
Before calling Renormalize(), the optimizer will check if there is any node needed retyping. If not the Renormalize pass will not be called.
Add checking for non-null abstract but still needs renorm;
Add flags to Substitution to help watching Renormalize

Simpler pass result checker, change Bool to Enum type
2020-04-13 23:45:14 -04:00
zhunaipan 930a1fb0a8 initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
2020-03-27 22:54:54 +08:00