summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-01-06 09:20:39 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-01-06 09:20:39 +0000
commit40d2429b2831ddbb146f7619eb289293deec69f6 (patch)
tree246cca3ee2713008c643772590fed815077c9d78 /llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
parent68dd9c7dd7f84a856761db3fd1a36bea72246eec (diff)
downloadbcm5719-llvm-40d2429b2831ddbb146f7619eb289293deec69f6.tar.gz
bcm5719-llvm-40d2429b2831ddbb146f7619eb289293deec69f6.zip
Formatting.
llvm-svn: 92831
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
index becb9a48b28..c67c9cf03f2 100644
--- a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
+++ b/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
@@ -237,8 +237,8 @@ Value *LibCallOptimization::EmitMemCmp(Value *Ptr1, Value *Ptr2,
Value *MemCmp = M->getOrInsertFunction("memcmp", AttrListPtr::get(AWI, 3),
Type::getInt32Ty(*Context),
- Type::getInt8PtrTy(*Context),
- Type::getInt8PtrTy(*Context),
+ Type::getInt8PtrTy(*Context),
+ Type::getInt8PtrTy(*Context),
TD->getIntPtrType(*Context), NULL);
CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B),
Len, "memcmp");
OpenPOWER on IntegriCloud