mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-30 05:29:47 +00:00
Formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
421c0733fd
commit
0ecbdeb14f
@ -237,8 +237,8 @@ Value *LibCallOptimization::EmitMemCmp(Value *Ptr1, Value *Ptr2,
|
|||||||
|
|
||||||
Value *MemCmp = M->getOrInsertFunction("memcmp", AttrListPtr::get(AWI, 3),
|
Value *MemCmp = M->getOrInsertFunction("memcmp", AttrListPtr::get(AWI, 3),
|
||||||
Type::getInt32Ty(*Context),
|
Type::getInt32Ty(*Context),
|
||||||
Type::getInt8PtrTy(*Context),
|
Type::getInt8PtrTy(*Context),
|
||||||
Type::getInt8PtrTy(*Context),
|
Type::getInt8PtrTy(*Context),
|
||||||
TD->getIntPtrType(*Context), NULL);
|
TD->getIntPtrType(*Context), NULL);
|
||||||
CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B),
|
CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B),
|
||||||
Len, "memcmp");
|
Len, "memcmp");
|
||||||
|
Loading…
Reference in New Issue
Block a user