mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Delete a directory that wasn't supposed to be checked in yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166591 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -375,7 +375,7 @@ bool ThreadSanitizer::instrumentAtomic(Instruction *I) {
|
||||
const size_t ByteSize = 1 << Idx;
|
||||
const size_t BitSize = ByteSize * 8;
|
||||
Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
|
||||
Type *PtrTy = Ty->getPointerTo();
|
||||
Type *PtrTy = Ty->getPointerTo(Addr->getType());
|
||||
Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
|
||||
createOrdering(&IRB, LI->getOrdering())};
|
||||
CallInst *C = CallInst::Create(TsanAtomicLoad[Idx],
|
||||
@ -390,7 +390,7 @@ bool ThreadSanitizer::instrumentAtomic(Instruction *I) {
|
||||
const size_t ByteSize = 1 << Idx;
|
||||
const size_t BitSize = ByteSize * 8;
|
||||
Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
|
||||
Type *PtrTy = Ty->getPointerTo();
|
||||
Type *PtrTy = Ty->getPointerTo(Addr->getType());
|
||||
Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
|
||||
IRB.CreateIntCast(SI->getValueOperand(), Ty, false),
|
||||
createOrdering(&IRB, SI->getOrdering())};
|
||||
|
Reference in New Issue
Block a user