[TIR][Transform]Block scope hoisting added (#6238)
authorANSHUMAN TRIPATHY <anshuman.t@huawei.com>
Mon, 31 Aug 2020 21:19:33 +0000 (02:49 +0530)
committerGitHub <noreply@github.com>
Mon, 31 Aug 2020 21:19:33 +0000 (14:19 -0700)
commit66b7ddb1f8062bc309634139fbb25caed352e601
tree3f83cd002fc811adbfd89bcb072ef3c7d25630e5
parent1767b0830e0dabc91d0b1da59d17f91bf172b280
[TIR][Transform]Block scope hoisting added (#6238)

* Block scope hoisting added

* lowering flow added with 2 variants

* Fake commit to trigger ci with pass default enabled

* CI Failure resolved

* Optimize for if var list iteration

* More test case added

* Fake commit to disable failed test cases

* Pass default value restored

* [1] Review comment handled

* [2] Review comments handled
python/tvm/driver/build_module.py
python/tvm/tir/transform/transform.py
src/tir/transforms/hoist_if_then_else.cc
tests/python/unittest/test_tir_transform_hoist_if.py