[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting...
authorCraig Topper <craig.topper@gmail.com>
Tue, 6 Oct 2015 05:39:59 +0000 (05:39 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 6 Oct 2015 05:39:59 +0000 (05:39 +0000)
commit49c8f7512a37b53bf459e51241935ab4ab67ef38
treef7fac91511705ea096f4d211fbd510072ac188f8
parent49cdd6c3d109b734fea339568b147e4c06feed52
[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting, make sure regB has been updated to take into account the commute.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249378 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
test/CodeGen/X86/atomic_mi.ll
test/CodeGen/X86/commute-two-addr.ll
test/Transforms/LoopStrengthReduce/X86/ivchain-stress-X86.ll