R600: fix PHI value adding in the structurizer
authorTom Stellard <thomas.stellard@amd.com>
Fri, 8 Feb 2013 22:24:35 +0000 (22:24 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 8 Feb 2013 22:24:35 +0000 (22:24 +0000)
commit13cf6cb57ad6e0bcd66c0ff11b4c4c568ee2f164
tree98910a038929680a2e094f52c0ce0c7d8f9c4b59
parentd3da6d5dda00761d383a1c339f54da470643c663
R600: fix PHI value adding in the structurizer

Otherwise we sometimes produce invalid code.

Patch by: Christian König

Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174760 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUStructurizeCFG.cpp