mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Formatting.
llvm-svn: 95027
This commit is contained in:
parent
cab2ca005d
commit
9e9e599070
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user