[llvm] r305081 - [SimplifyLibCalls] fix formatting; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 07:22:03 PDT 2017
Author: spatel
Date: Fri Jun 9 09:22:03 2017
New Revision: 305081
URL: http://llvm.org/viewvc/llvm-project?rev=305081&view=rev
Log:
[SimplifyLibCalls] fix formatting; NFC
Modified:
llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
Modified: llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp?rev=305081&r1=305080&r2=305081&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp Fri Jun 9 09:22:03 2017
@@ -738,8 +738,8 @@ Value *LibCallSimplifier::optimizeMemCmp
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());
More information about the llvm-commits
mailing list