mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -232,10 +232,10 @@ Value *LibCallOptimization::EmitMemChr(Value *Ptr, Value *Val,
|
|||||||
AWI = AttributeWithIndex::get(~0u, Attribute::ReadOnly | Attribute::NoUnwind);
|
AWI = AttributeWithIndex::get(~0u, Attribute::ReadOnly | Attribute::NoUnwind);
|
||||||
|
|
||||||
Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(&AWI, 1),
|
Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(&AWI, 1),
|
||||||
Type::getInt8PtrTy(*Context),
|
Type::getInt8PtrTy(*Context),
|
||||||
Type::getInt8PtrTy(*Context),
|
Type::getInt8PtrTy(*Context),
|
||||||
Type::getInt32Ty(*Context),
|
Type::getInt32Ty(*Context),
|
||||||
TD->getIntPtrType(*Context),
|
TD->getIntPtrType(*Context),
|
||||||
NULL);
|
NULL);
|
||||||
CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr");
|
CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user