diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2017-01-02 19:04:07 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2017-01-02 19:04:07 +0000 |
| commit | 4382997a13c18bf10f9b3fee69b4c3e2cb85fdd3 (patch) | |
| tree | 56de1e88c2efe8cce260252de7a8268ed5c5328f /llvm/lib/Analysis | |
| parent | 67ada75d845ab6282e49e523a4c170f77794ded3 (diff) | |
| download | bcm5719-llvm-4382997a13c18bf10f9b3fee69b4c3e2cb85fdd3.tar.gz bcm5719-llvm-4382997a13c18bf10f9b3fee69b4c3e2cb85fdd3.zip | |
[ValueTracking] remove stale comments; NFC
The checks were improved with:
https://reviews.llvm.org/rL290194
llvm-svn: 290826
Diffstat (limited to 'llvm/lib/Analysis')
| -rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 2a77baec6c3..073b4e6ab26 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -2542,9 +2542,6 @@ bool llvm::CannotBeNegativeZero(const Value *V, const TargetLibraryInfo *TLI, if (const ConstantFP *CFP = dyn_cast<ConstantFP>(V)) return !CFP->getValueAPF().isNegZero(); - // FIXME: Magic number! At the least, this should be given a name because it's - // used similarly in CannotBeOrderedLessThanZero(). A better fix may be to - // expose it as a parameter, so it can be used for testing / experimenting. if (Depth == MaxDepth) return false; // Limit search depth. @@ -2589,9 +2586,6 @@ bool llvm::CannotBeOrderedLessThanZero(const Value *V, if (const ConstantFP *CFP = dyn_cast<ConstantFP>(V)) return !CFP->getValueAPF().isNegative() || CFP->getValueAPF().isZero(); - // FIXME: Magic number! At the least, this should be given a name because it's - // used similarly in CannotBeNegativeZero(). A better fix may be to - // expose it as a parameter, so it can be used for testing / experimenting. if (Depth == MaxDepth) return false; // Limit search depth. |

