OSDN Git Service

Check that the register is live-in to the loop header before inserting copies in
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 18 Dec 2010 01:06:19 +0000 (01:06 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 18 Dec 2010 01:06:19 +0000 (01:06 +0000)
commitdfe3b6d2a9a452f2fd748416cd8e4c2583e0e8c5
treedee4127d09fd88c857b2cfafc67d83d18b657399
parentbb1744ec1531fff3fd22fdfcd65f0f72d99c4fa5
Check that the register is live-in to the loop header before inserting copies in
the loop predecessors.

The register can be live-out from a predecessor without being live-in to the
loop header if there is a critical edge from the predecessor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122123 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SplitKit.cpp