Teach two-address pass to update the "source" map so it doesn't perform a
authorEvan Cheng <evan.cheng@apple.com>
Fri, 18 May 2012 01:33:51 +0000 (01:33 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 18 May 2012 01:33:51 +0000 (01:33 +0000)
commit22d405f57b62d0eee7a994f074859e399583f7f1
tree1c3e08f3a2e1b9f1ccd32df97242514b2b155ee7
parent46d01605ee7ae986e4d6f47aa88224e7e8b7146c
Teach two-address pass to update the "source" map so it doesn't perform a
non-profitable commute using outdated info. The test case would still fail
because of poor pre-RA schedule. That will be fixed by MI scheduler.

rdar://11472010

llvm-svn: 157038
llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
llvm/test/CodeGen/X86/2012-05-17-TwoAddressBug.ll [new file with mode: 0644]