]> granicus.if.org Git - re2c/commit
Fixed liveness analysis inside of basic block.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 4 Apr 2017 12:41:41 +0000 (13:41 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 4 Apr 2017 12:41:41 +0000 (13:41 +0100)
commit55853fdc015c2c65a397165c7ef791662f6a063c
tree1484fb40bfca248315eb2cbd92b7b10d8cb8f589
parent10803f4e2b4c92498cc2d7696d02b71ed72f2c77
Fixed liveness analysis inside of basic block.

Liveness flows backwards through basic block, so it should be
propagated backwards starting with live-out set and applying
commands one by one in reverse order.
re2c/src/dfa/cfg/cfg.h
re2c/src/dfa/cfg/dce.cc
re2c/src/dfa/cfg/interfere.cc
re2c/src/dfa/cfg/liveanal.cc