don't hoist FP additions into unconditional adds + selects. This
authorChris Lattner <sabre@nondot.org>
Thu, 3 Jan 2008 07:25:26 +0000 (07:25 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 Jan 2008 07:25:26 +0000 (07:25 +0000)
commit3d73bce2d01c7537042bb214edb5fc597f07bf74
tree00c12eee5788657b4eeeac62f8f91c00c7090583
parent76327d9cf598a17eb69ea928ca43fbacb6cc535e
don't hoist FP additions into unconditional adds + selects.  This
could theoretically introduce a trap, but is also a performance issue.
This speeds up ptrdist/ks by 8%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45533 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/2008-01-02-hoist-fp-add.ll [new file with mode: 0644]