don't use llabs with apparently VC++ doesn't have

llvm-svn: 23845
This commit is contained in:
Chris Lattner 2005-10-20 17:01:00 +00:00
parent 35852fc391
commit a6efeb01f9
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ static ms magic64(int64_t d) {
const uint64_t two63 = 9223372036854775808ULL; // 2^63
struct ms mag;
ad = llabs(d);
ad = d >= 0 ? d : -d;
t = two63 + ((uint64_t)d >> 63);
anc = t - 1 - t%ad; // absolute value of nc
p = 63; // initialize p