R600/SI: Use source scheduler
authorMichel Danzer <michel.daenzer@amd.com>
Fri, 8 Mar 2013 10:58:01 +0000 (10:58 +0000)
committerMichel Danzer <michel.daenzer@amd.com>
Fri, 8 Mar 2013 10:58:01 +0000 (10:58 +0000)
commitd787c047bcc5d0d81743f9d4403d5c54fe4757fe
tree88a18310db317c02cc41551e00dcb9eb4137aaba
parentfff2d3aed9d50780d9d07859b03120dcd712d96e
R600/SI: Use source scheduler

This is certainly not the last word on scheduling for this target, but
right now this allows a few apps to run / finish with radeonsi, most
notably UT2004 / Lightsmark. They fail to compile some shaders with the
default scheduler because it ends up trying to spill registers, which
we don't support yet (and which is probably a bad idea in general for
performance if it can be avoided).

NOTE: This is a candidate for the Mesa stable branch.

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