After 3-addressifying a two-address instruction, update the register maps; add a...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 10 Feb 2011 02:20:55 +0000 (02:20 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 10 Feb 2011 02:20:55 +0000 (02:20 +0000)
commit4d96c638af0458f4de637998da942a5e166d6ea5
treef7a1bc561f4cb31b02eea47391bfdcb6a295bae7
parent6793c49bb4b7d20532e530404740422036d84788
After 3-addressifying a two-address instruction, update the register maps; add a missing check when considering whether it's profitable to commute. rdar://8977508.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125259 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
test/CodeGen/X86/twoaddr-lea.ll