Don't hoist or sink instructions with physreg uses if the physreg is
authorDan Gohman <gohman@apple.com>
Sat, 26 Sep 2009 02:34:00 +0000 (02:34 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 26 Sep 2009 02:34:00 +0000 (02:34 +0000)
commit45094e34bcbb133aa0bbe55710e25369df0e02ed
tree02c3bbb0b3a6c27fd49d3d5277a04a6b2cc2a928
parent22cb6579b3ab33610f166b264833fa945e8e2ade
Don't hoist or sink instructions with physreg uses if the physreg is
allocatable. Even if it doesn't appear to have any defs, it may latter
on after register allocation.

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