Revert "GBE: No need to compute liveout again in value.cpp."
authorRuiling Song <ruiling.song@intel.com>
Tue, 3 Jun 2014 05:53:14 +0000 (13:53 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 4 Jun 2014 02:15:02 +0000 (10:15 +0800)
commit38adc9b13bcaacdb0d3e916d9a46cea2ec708b0e
tree31fc2fe4b6a4b3f353621baa6b1294358ed869da
parent7909661befc1b4064ca8c22bb1471bb6a7d9e39c
Revert "GBE: No need to compute liveout again in value.cpp."

We need to transfer ValueDef from predecessors to their successors.
Consider a register defined in BB0, and used in BB3. we need to
iterate over liveout to pass the def in BB0 to BB3, so the use
in BB3 could get that correct def. Otherwise, the UD/DU graph is incomplete.

This reverts commit 89b490b5a17cfda2d9816dc1c246ce5bbff12648.
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/ir/value.cpp