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)
commit7ec0e4fbe3ff1484ff6fcb090cf4242ce6fd6bd9
tree0143c00363144827b970e403d4bec8aaaa83ff19
parente0cdd752d5d7d18ff35ea3e2f8df37d4714d6ba2
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>
llvm-svn: 174760
llvm/lib/Target/R600/AMDGPUStructurizeCFG.cpp