OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c590cff
)
[SimplifyLibCalls] fix formatting; NFC
author
Sanjay Patel
<spatel@rotateright.com>
Fri, 9 Jun 2017 14:22:03 +0000
(14:22 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Fri, 9 Jun 2017 14:22:03 +0000
(14:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305081
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/SimplifyLibCalls.cpp
b/lib/Transforms/Utils/SimplifyLibCalls.cpp
index
cc6c47e
..
b723b65
100644
(file)
--- a/
lib/Transforms/Utils/SimplifyLibCalls.cpp
+++ b/
lib/Transforms/Utils/SimplifyLibCalls.cpp
@@
-738,8
+738,8
@@
Value *LibCallSimplifier::optimizeMemCmp(CallInst *CI, IRBuilder<> &B) {
ConstantInt *LenC = dyn_cast<ConstantInt>(CI->getArgOperand(2));
if (!LenC)
return nullptr;
- uint64_t Len = LenC->getZExtValue();
+ uint64_t Len = LenC->getZExtValue();
if (Len == 0) // memcmp(s1,s2,0) -> 0
return Constant::getNullValue(CI->getType());