[PostRASink] extend the live-in check for all aliased registers
authorJun Bum Lim <junbuml@codeaurora.org>
Fri, 27 Apr 2018 19:59:20 +0000 (19:59 +0000)
committerJun Bum Lim <junbuml@codeaurora.org>
Fri, 27 Apr 2018 19:59:20 +0000 (19:59 +0000)
commit9e3e14b5f90580f1723fd6a3b1546534e21dd6bf
treee5daf9a3f6006f92ea0163d2bdc77b391f596656
parent27fe8a50110a5249ac68469c9fc27fa75b42ac3c
[PostRASink] extend the live-in check for all aliased registers

Extend the live-in check for all aliased registers so that we can
allow sinking Copy instructions when only implicit def is in successor's
live-in.

llvm-svn: 331072
llvm/lib/CodeGen/MachineSink.cpp
llvm/test/CodeGen/AArch64/post-ra-machine-sink.mir