R600/structurizer: improve loop handling
authorChristian Konig <christian.koenig@amd.com>
Sat, 16 Feb 2013 11:27:45 +0000 (11:27 +0000)
committerChristian Konig <christian.koenig@amd.com>
Sat, 16 Feb 2013 11:27:45 +0000 (11:27 +0000)
commit623977d9ba064a6f3b46edee1cb2246716a33397
tree7542782376ddd8e1fc3e7317659a6e130b23f6c2
parent25bd884c3d0e9803dfafda10e7ecede152ad156f
R600/structurizer: improve loop handling

Generate more than one loop if it seems to make sense.

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@175348 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUStructurizeCFG.cpp