Skip to content
Commit 5493feed authored by David Tweed's avatar David Tweed
Browse files

The optimization a + (-0.0f) -> a was being misapplied to a + (+0.0f) in the vector case (because

we weren't differntiating floating-point zeroinitializers from other zero-initializers)
which was causing problems for code relying upon a + (+0.0f) to, eg, flush denormals to
0. Make the scalar and vector cases have the same behaviour.

llvm-svn: 177279
parent 15bee188
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