Fix PostRA antidependence breaker.
authorAndrew Trick <atrick@apple.com>
Tue, 8 Feb 2011 17:39:46 +0000 (17:39 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 8 Feb 2011 17:39:46 +0000 (17:39 +0000)
commitbc4bd92d52be2f6707a8c311873ded27a8f2481f
treee615ff541b39a385d31c52a92d9ae25e36af2fde
parent75396a998887220074b90f176e29054a35b6c0ed
Fix PostRA antidependence breaker.

Avoid using the same register for two def operands or and earlyclobber
def and use operand. This fixes PR8986 and improves on the prior fix
for rdar://problem/8959122.

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