Remove the remaining uses of abs64 and nuke it.
[oota-llvm.git] / lib / Transforms / Scalar / AlignmentFromAssumptions.cpp
index 64e2c2b628149c991b0f3c1e327eaabc4265d6d7..9b74648ea46cc53ce50f0339a18464f53072bca6 100644 (file)
@@ -124,7 +124,7 @@ static unsigned getNewAlignmentDiff(const SCEV *DiffSCEV,
 
     // If the displacement is not an exact multiple, but the remainder is a
     // constant, then return this remainder (but only if it is a power of 2).
-    uint64_t DiffUnitsAbs = abs64(DiffUnits);
+    uint64_t DiffUnitsAbs = std::abs(DiffUnits);
     if (isPowerOf2_64(DiffUnitsAbs))
       return (unsigned) DiffUnitsAbs;
   }