diff options
author | Eric Christopher <echristo@apple.com> | 2010-02-01 23:25:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-02-01 23:25:03 +0000 |
commit | 6ddf0430e1497e3bd02d9fe41dcab65954c3b177 (patch) | |
tree | 3221a80fd3a33ee5ecbbe4c7a8693c978987d03a /lib/Transforms/Scalar | |
parent | 92e63d817f9aa35afc5e37af8fa31e22463e61c4 (diff) | |
download | external_llvm-6ddf0430e1497e3bd02d9fe41dcab65954c3b177.zip external_llvm-6ddf0430e1497e3bd02d9fe41dcab65954c3b177.tar.gz external_llvm-6ddf0430e1497e3bd02d9fe41dcab65954c3b177.tar.bz2 |
Formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r-- | lib/Transforms/Scalar/SimplifyLibCalls.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/lib/Transforms/Scalar/SimplifyLibCalls.cpp index a49da9c..20014f3 100644 --- a/lib/Transforms/Scalar/SimplifyLibCalls.cpp +++ b/lib/Transforms/Scalar/SimplifyLibCalls.cpp @@ -232,10 +232,10 @@ Value *LibCallOptimization::EmitMemChr(Value *Ptr, Value *Val, AWI = AttributeWithIndex::get(~0u, Attribute::ReadOnly | Attribute::NoUnwind); Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(&AWI, 1), - Type::getInt8PtrTy(*Context), - Type::getInt8PtrTy(*Context), + Type::getInt8PtrTy(*Context), + Type::getInt8PtrTy(*Context), Type::getInt32Ty(*Context), - TD->getIntPtrType(*Context), + TD->getIntPtrType(*Context), NULL); CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); |