OSDN Git Service

Avoid commuting a def MI in order to coalesce a copy instruction away if any use...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 26 Mar 2008 19:03:01 +0000 (19:03 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 26 Mar 2008 19:03:01 +0000 (19:03 +0000)
commited70cbb3f367bc0f77d34d22163abbe4879526bc
treeec25ced033c89f098d241a6db0cf6154314b5efe
parente326332acd5fefb9854118603b4d07d4e44b64c5
Avoid commuting a def MI in order to coalesce a copy instruction away if any use of the same val# is a copy instruction that has already been coalesced.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48833 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
lib/CodeGen/VirtRegMap.cpp
test/CodeGen/X86/2007-03-26-CoalescerBug.ll [new file with mode: 0644]