Skip to content
Commit cd4c03e8 authored by Dan Gohman's avatar Dan Gohman
Browse files

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
parent 2f840382
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment