aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-02-02 00:06:55 +0000
committerEric Christopher <echristo@apple.com>2010-02-02 00:06:55 +0000
commiteae6ed108426c399684266d987efb9f01bf3deb0 (patch)
treeef442d25a4ea7252db31ec04359971ef5504e021 /lib/Transforms/Scalar
parent37ad4661b4737e70c9f6a8a2037b4a9731add351 (diff)
downloadexternal_llvm-eae6ed108426c399684266d987efb9f01bf3deb0.zip
external_llvm-eae6ed108426c399684266d987efb9f01bf3deb0.tar.gz
external_llvm-eae6ed108426c399684266d987efb9f01bf3deb0.tar.bz2
Untabify previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r--lib/Transforms/Scalar/SimplifyLibCalls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/lib/Transforms/Scalar/SimplifyLibCalls.cpp
index 20014f3..9c06ab7 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");