Patch r153892 for PR11861 apparently broke an external project (see PR12493).
authorLang Hames <lhames@gmail.com>
Mon, 9 Apr 2012 20:17:30 +0000 (20:17 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 9 Apr 2012 20:17:30 +0000 (20:17 +0000)
commitf31ceaf8b7b1c5092fe35e20732711f5e1074118
tree5c650615328e099136e42d671cdf8255d8d203e0
parent96b66d65c23a596447ce3b14775f5c803fec47b3
Patch r153892 for PR11861 apparently broke an external project (see PR12493).

This patch restores TwoAddressInstructionPass's pre-r153892 behaviour when
rescheduling instructions in TryInstructionTransform. Hopefully this will fix
PR12493. To refix PR11861, lowering of INSERT_SUBREGS is deferred until after
the copy that unties the operands is emitted (this seems to be a more
appropriate fix for that issue anyway).

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