Skip to content

Commit 3471240

Browse files
committed
[TySan] Address review comments. NFC.
1 parent e21aeb4 commit 3471240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/TypeSanitizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ void collectMemAccessInfo(
497497
if (CallInst *CI = dyn_cast<CallInst>(&Inst))
498498
maybeMarkSanitizerLibraryCallNoBuiltin(CI, &TLI);
499499

500-
if (isa<MemIntrinsic>(Inst) || isa<LifetimeIntrinsic>(Inst))
500+
if (isa<MemIntrinsic, LifetimeIntrinsic>(Inst))
501501
MemTypeResetInsts.push_back(&Inst);
502502
} else if (isa<AllocaInst>(Inst)) {
503503
MemTypeResetInsts.push_back(&Inst);

0 commit comments

Comments
 (0)