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 | 21dc20cbd62e0b4617cad7df947318801eec81e6 (patch) | |
tree | 0768ad5fb0a559f94f1154e57c5dfa40e61f4ebb /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | cf453ee70a1ae03cc641686fd5db0f8a7d8ce250 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions