[NFC] [HWASan] remove unnecessary cast

This commit is contained in:
Florian Mayer 2022-09-28 17:40:50 -07:00
parent 7b1bdfbeb0
commit e06c9b63bc
1 changed files with 1 additions and 1 deletions

View File

@ -1483,7 +1483,7 @@ bool HWAddressSanitizer::sanitizeFunction(Function &F,
if (ClInstrumentMemIntrinsics && !IntrinToInstrument.empty()) {
for (auto *Inst : IntrinToInstrument)
instrumentMemIntrinsic(cast<MemIntrinsic>(Inst));
instrumentMemIntrinsic(Inst);
}
ShadowBase = nullptr;