Switch the select to branch transformation on by default.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 6 May 2012 14:25:16 +0000 (14:25 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 6 May 2012 14:25:16 +0000 (14:25 +0000)
commit77c4ef8a47ef30d826bf56eb81d4059f4813ace1
tree11a5805f8cb4c0c6dcf234a1bbcf92eeb48bf374
parent58c1da84f27d7821a75d41bed6e28c76fba8b64d
Switch the select to branch transformation on by default.

The primitive conservative heuristic seems to give a slight overall
improvement while not regressing stuff. Make it available to wider
testing. If you notice any speed regressions (or significant code
size regressions) let me know!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156258 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
test/CodeGen/X86/cmov-into-branch.ll
test/CodeGen/X86/cmov.ll