summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-01 05:08:57 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-01 05:08:57 +0000
commit9ab8d7f9c348803a34461b55b4ae28ccef547fbf (patch)
treeda0c94c04fc931b40fd49fb5f9e7637354cff135 /llvm/lib/Support/APInt.cpp
parent73250168e723b1507bc15e8fa6670aa5d3f3ac2c (diff)
downloadbcm5719-llvm-9ab8d7f9c348803a34461b55b4ae28ccef547fbf.tar.gz
bcm5719-llvm-9ab8d7f9c348803a34461b55b4ae28ccef547fbf.zip
[APInt] Remove the mul/urem/srem/udiv/sdiv functions from the APIntOps namespace. Replace the few usages with calls to the class methods. NFC
llvm-svn: 299292
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
-rw-r--r--llvm/lib/Support/APInt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index 8ac881e4c7f..d6139504f9a 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -881,7 +881,7 @@ APInt llvm::APIntOps::GreatestCommonDivisor(const APInt& API1,
APInt A = API1, B = API2;
while (!!B) {
APInt T = B;
- B = APIntOps::urem(A, B);
+ B = A.urem(B);
A = T;
}
return A;
OpenPOWER on IntegriCloud