OSDN Git Service

Improve logic that decides if its profitable to commute when some of the virtual...
authorCraig Topper <craig.topper@gmail.com>
Wed, 5 Nov 2014 06:43:02 +0000 (06:43 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 5 Nov 2014 06:43:02 +0000 (06:43 +0000)
commit04a45948a05d75ed6b0b2ab52fa2516c74f6a987
tree75cbb83b27f1ee1d7c79382db8b4eb51662e0c0b
parent090bd82177820b7118011c3284e7874055a41e57
Improve logic that decides if its profitable to commute when some of the virtual registers involved have uses/defs chains connecting them to physical register. Fix up the tests that this change improves.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221336 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
test/CodeGen/Thumb/2012-04-26-M0ISelBug.ll
test/CodeGen/X86/fma_patterns.ll
test/CodeGen/X86/sse-minmax.ll
test/CodeGen/X86/sse41.ll
test/CodeGen/X86/vec_setcc.ll
test/CodeGen/X86/vector-shuffle-128-v2.ll
test/CodeGen/X86/vector-shuffle-128-v4.ll
test/CodeGen/X86/vector-shuffle-combining.ll
test/CodeGen/X86/vselect.ll