summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-03-09 20:20:16 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-03-09 20:20:16 +0000
commit7bd1f7cb585fc66c65120d114abc02b91156398f (patch)
tree7b764e374dcce04112de796edde398a737686489 /llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
parent542510925b1d5c3cbaa0d13d1ec2889d06ea5328 (diff)
downloadbcm5719-llvm-7bd1f7cb585fc66c65120d114abc02b91156398f.tar.gz
bcm5719-llvm-7bd1f7cb585fc66c65120d114abc02b91156398f.zip
Remove the remaining uses of abs64 and nuke it.
std::abs works just fine and we're already using it in many places. NFC intended. llvm-svn: 231696
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp b/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
index 1577c33f4f6..c47ee9c8e2e 100644
--- a/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
@@ -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();
OpenPOWER on IntegriCloud