summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-01-29 20:51:49 +0000
committerSanjay Patel <spatel@rotateright.com>2015-01-29 20:51:49 +0000
commit4f07a56958fa1a26024d1f43bd8cc1dee8816d5e (patch)
treeefde8ddb6fe3fcb584af2ba4d25d3ed4ff17b549 /llvm/lib/Object/ELF.cpp
parent03b968e89874e4fe8f76f6b7f2345086d353f962 (diff)
downloadbcm5719-llvm-4f07a56958fa1a26024d1f43bd8cc1dee8816d5e.tar.gz
bcm5719-llvm-4f07a56958fa1a26024d1f43bd8cc1dee8816d5e.zip
[GVN] don't propagate equality comparisons of FP zero (PR22376)
In http://reviews.llvm.org/D6911, we allowed GVN to propagate FP equalities to allow some simple value range optimizations. But that introduced a bug when comparing to -0.0 or 0.0: these compare equal even though they are not bitwise identical. This patch disallows propagating zero constants in equality comparisons. Fixes: http://llvm.org/bugs/show_bug.cgi?id=22376 Differential Revision: http://reviews.llvm.org/D7257 llvm-svn: 227491
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud