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)
commit0bccf9d60b2a7a33653e2fa18c6028c0546bbb61
treed2c813c2bde6583d99e12569f5d3cff2a86859a2
parentd08e3d753e401307b9a7c0316559cc8c1b39fd65
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>
llvm-svn: 175346
llvm/lib/Target/R600/AMDGPUStructurizeCFG.cpp