Remove the remaining uses of abs64 and nuke it.
[oota-llvm.git] / lib / Target / Hexagon / HexagonHardwareLoops.cpp
index 1577c33f4f6b1e33b1847c5ec0ba941cfe4b9ee4..c47ee9c8e2e70c898891673351265c7ffd57e588 100644 (file)
@@ -690,7 +690,7 @@ CountValue *HexagonHardwareLoops::computeCount(MachineLoop *Loop,
 
   // If the induction variable bump is not a power of 2, quit.
   // Othwerise we'd need a general integer division.
-  if (!isPowerOf2_64(abs64(IVBump)))
+  if (!isPowerOf2_64(std::abs(IVBump)))
     return nullptr;
 
   MachineBasicBlock *PH = Loop->getLoopPreheader();