R600/structurizer: improve PHI value finding
authorChristian Konig <christian.koenig@amd.com>
Sat, 16 Feb 2013 11:27:35 +0000 (11:27 +0000)
committerChristian Konig <christian.koenig@amd.com>
Sat, 16 Feb 2013 11:27:35 +0000 (11:27 +0000)
commit4c79c71d99336baf312e2784311b257c5d9eebce
tree2d488127fbd7a9cd05f4d5bd4022f7222a890520
parentf0e469bcaf65dddeadb5ccb400b4a712c5f763be
R600/structurizer: improve PHI value finding

Using the new NearestCommonDominator class.

This is a candidate for the stable branch.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175346 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUStructurizeCFG.cpp