Don't use an expensive check for two-address-ness when we have the information sittin...
authorOwen Anderson <resistor@mac.com>
Wed, 9 Jul 2008 21:15:10 +0000 (21:15 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 9 Jul 2008 21:15:10 +0000 (21:15 +0000)
commitdd4b47c9b27eec402b56b27159c4323dd9aa5e94
treebde749c36d65110fad5e9bdaebd5ebc0769509ac
parent7bc39e227f13de9b1b1b0f633494be4182f7ba4b
Don't use an expensive check for two-address-ness when we have the information sitting around to determine it much more quickly,
This speeds up the local register allocator from 0.37s to 0.31s on instcombine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53359 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp