R600/SI: Move PHIs that define SGPRs to the VALU in most cases
authorTom Stellard <thomas.stellard@amd.com>
Wed, 24 Sep 2014 01:33:26 +0000 (01:33 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 24 Sep 2014 01:33:26 +0000 (01:33 +0000)
commitabe9b2274dd8ecc1049de3c03e7ffac57c0c0142
treee67637f390aa7ec54a3b78604286a7588248323d
parent36ba7962a4627f9e557c5db39f9ae845c8f5fcc8
R600/SI: Move PHIs that define SGPRs to the VALU in most cases

This fixes a bug that is uncovered by a future commit and will
be tested by the test/CodeGen/R600/sgpr-control-flow.ll test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218352 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIFixSGPRCopies.cpp