During two-address lowering, rescheduling an instruction does not untie
authorLang Hames <lhames@gmail.com>
Mon, 2 Apr 2012 19:58:43 +0000 (19:58 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 2 Apr 2012 19:58:43 +0000 (19:58 +0000)
commitbe9fe49b179a89a659fe786d64b176d2b360bb4a
treeb3570318e953c06b4e63fb2dc2fb5e52aa80e9ae
parentce167840b2408e531fb7616627ff1bf769b4a111
During two-address lowering, rescheduling an instruction does not untie
operands. Make TryInstructionTransform return false to reflect this.
Fixes PR11861.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153892 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
test/CodeGen/ARM/2012-04-02-TwoAddrInstrCrash.ll [new file with mode: 0644]