diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-04-01 05:08:57 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-04-01 05:08:57 +0000 |
commit | 9ab8d7f9c348803a34461b55b4ae28ccef547fbf (patch) | |
tree | da0c94c04fc931b40fd49fb5f9e7637354cff135 /llvm/lib/Support/APInt.cpp | |
parent | 73250168e723b1507bc15e8fa6670aa5d3f3ac2c (diff) | |
download | bcm5719-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.cpp | 2 |
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; |