RAFast: Generalize the logic for return operands.
authorAndrew Trick <atrick@apple.com>
Tue, 31 Jan 2012 05:55:32 +0000 (05:55 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 31 Jan 2012 05:55:32 +0000 (05:55 +0000)
commitb3d58474c83499621ae1e2d76dc87587910abe55
tree096aa379905ec6956c4298f8851c2e026074e558
parent7f2c6dc8a032028d153c494b9d87846a3d37a9f5
RAFast: Generalize the logic for return operands.

This removes implicit assumption about the form of MI coming into regalloc. In particular, it should be independent of ProcessImplicitDefs which will eventually become a standard part of coming out of SSA--unless we simply can eliminate IMPLICIT_DEF completely. Current unit tests expose this once I remove incidental pass ordering restrictions.

This is not a final fix. Just a temporary workaround until I figure out the right way.

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