For now, avoid generating FP select instructions in order to speculatively execute...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 11 Jun 2008 19:18:20 +0000 (19:18 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 11 Jun 2008 19:18:20 +0000 (19:18 +0000)
commit797d95188d00963a835db9ad66dd3c4a54aa2faf
tree40f31e802a80ffd3025fafd1f152f156ae0390d7
parentbb318c073e0442ad86aa499ed329058ebce9b4c7
For now, avoid generating FP select instructions in order to speculatively execute integer arithmetic instructions. FP selects are more likely to be expensive (even compared to branch on fcmp). This is not a wonderful solution but I rather err on the side of conservative.

This fixes the heapsort performance regressions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52224 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp