Backed out changeset a4a56914be72 (bug 1024836) because the upstream LLVM bug is now fixed.

Upstream bug: http://llvm.org/bugs/show_bug.cgi?id=20008
This commit is contained in:
Ehsan Akhgari 2014-06-25 22:20:25 -07:00
parent c0c4ac6080
commit 421a7e2389

View File

@ -916,9 +916,9 @@ Range::abs(TempAllocator &alloc, const Range *op)
int32_t l = op->lower_;
int32_t u = op->upper_;
return new(alloc) Range(Max(Max(int32_t(0), l), u == INT32_MIN ? int32_t(INT32_MAX) : -u),
return new(alloc) Range(Max(Max(int32_t(0), l), u == INT32_MIN ? INT32_MAX : -u),
true,
Max(Max(int32_t(0), u), l == INT32_MIN ? int32_t(INT32_MAX) : -l),
Max(Max(int32_t(0), u), l == INT32_MIN ? INT32_MAX : -l),
op->hasInt32Bounds() && l != INT32_MIN,
op->canHaveFractionalPart_,
op->max_exponent_);