diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2015-02-25 18:00:15 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2015-02-25 18:00:15 +0000 |
| commit | 40eaa8df99982568bc71017e8a2e79242dbe0c5a (patch) | |
| tree | c068b26a5d7adafc7c11551ba2e2070b886a4f6c /llvm/lib/Support/Watchdog.cpp | |
| parent | d9b8bd6b86add43cd9dde62674e8465adc8e911a (diff) | |
| download | bcm5719-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/Support/Watchdog.cpp')
0 files changed, 0 insertions, 0 deletions

