diff options
| author | Dan Gohman <gohman@apple.com> | 2010-02-23 17:17:57 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-02-23 17:17:57 +0000 |
| commit | cd4c03e886755031ea06195d0878b9e81ec74f36 (patch) | |
| tree | 307b5f5f5572216cddce27937a6cfe9d2a87dc65 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
| parent | 2f840382e21177d36f8367a83c9594b75fe5343b (diff) | |
| download | bcm5719-llvm-cd4c03e886755031ea06195d0878b9e81ec74f36.tar.gz bcm5719-llvm-cd4c03e886755031ea06195d0878b9e81ec74f36.zip | |
Don't do (X != Y) ? X : Y -> X for floating-point values; it doesn't
handle NaN properly.
Do (X une Y) ? X : Y -> X if one of X and Y is not zero.
llvm-svn: 96955
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions

