Re-enable branchfolding common code hoisting optimization. Fixed a liveness test...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 12 May 2011 20:30:01 +0000 (20:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 12 May 2011 20:30:01 +0000 (20:30 +0000)
commit7139d3516526317497e70348e33a57b52ddc053c
tree2ce77ff4dc4b356455da2967ff3c3ddad33b7f16
parentb11f80e94b590c90d07254dfa2406cf504e09cd3
Re-enable branchfolding common code hoisting optimization. Fixed a liveness test bug and also taught it to update liveins.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131241 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp
test/CodeGen/X86/hoist-common.ll [new file with mode: 0644]