R600: Implement TargetInstrInfo::isLegalToSplitMBBAt()
authorTom Stellard <thomas.stellard@amd.com>
Fri, 22 Nov 2013 00:41:08 +0000 (00:41 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 22 Nov 2013 00:41:08 +0000 (00:41 +0000)
commit8d56c5923587be937872678fd67501c3d21578e4
treeecda2994277a5bb19b9d952ef8307865498c8c87
parent0ffcaa0d547035e2b51bc9bc147150960b70721a
R600: Implement TargetInstrInfo::isLegalToSplitMBBAt()

Splitting a basic block will create a new ALU clause, so we need to make
sure we aren't moving uses of registers that are local to their
current clause into a new one.

I had a test case for this, but unfortunately unrelated schedule changes
invalidated it, and I wasn't been able to come up with another one.

NOTE: This is a candidate for the 3.4 branch.

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