summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/OcamlGC.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-02-25 18:00:15 +0000
committerSanjay Patel <spatel@rotateright.com>2015-02-25 18:00:15 +0000
commit40eaa8df99982568bc71017e8a2e79242dbe0c5a (patch)
treec068b26a5d7adafc7c11551ba2e2070b886a4f6c /llvm/lib/CodeGen/OcamlGC.cpp
parentd9b8bd6b86add43cd9dde62674e8465adc8e911a (diff)
downloadbcm5719-llvm-40eaa8df99982568bc71017e8a2e79242dbe0c5a.tar.gz
bcm5719-llvm-40eaa8df99982568bc71017e8a2e79242dbe0c5a.zip
Fix really obscure bug in CannotBeNegativeZero() (PR22688)
With a diabolically crafted test case, we could recurse through this code and return true instead of false. The larger engineering crime is the use of magic numbers. Added FIXME comments for those. llvm-svn: 230515
Diffstat (limited to 'llvm/lib/CodeGen/OcamlGC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud