diff options
author | Evan Cheng <evan.cheng@apple.com> | 2012-03-01 23:27:13 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2012-03-01 23:27:13 +0000 |
commit | fc501a3ec9d97e372ecb1bd9cf32d861da46b2c9 (patch) | |
tree | 46999ebb75204bc563cf387423dcd0682035e008 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 5a491ca98e1ac6fd8ae2f0e71a4ee5777e1a1ae4 (diff) |
Neuter the optimization I implemented with r107852 and r108258 which turn some
floating point equality comparisons into integer ones with -ffast-math. The
issue is the optimization causes +0.0 != -0.0.
Now the optimization is only done when one side is known to be 0.0. The other
side's sign bit is masked off for the comparison.
rdar://10964603
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
0 files changed, 0 insertions, 0 deletions