commit | 21dc20cbd62e0b4617cad7df947318801eec81e6 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Feb 23 17:17:57 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Feb 23 17:17:57 2010 +0000 |
tree | 0768ad5fb0a559f94f1154e57c5dfa40e61f4ebb | |
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