summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
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
commit1408234753f2084d378a2e2826e8558d19ec9053 (patch)
tree4bcd860015ee541a8995228b5de58945ae1075c7 /llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
parent10b9639b74b83d3c698ddf2f38539fa7e7b9b9d8 (diff)
downloadbcm5719-llvm-1408234753f2084d378a2e2826e8558d19ec9053.tar.gz
bcm5719-llvm-1408234753f2084d378a2e2826e8558d19ec9053.zip
Untabify previous commit.
llvm-svn: 95035
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
index 20014f3026a..9c06ab7057f 100644
--- a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
+++ b/llvm/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");
OpenPOWER on IntegriCloud