File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/Transforms/Instrumentation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4071,12 +4071,12 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
40714071 ShadowArgs.append (1 , SrcShadowPtr);
40724072 ShadowArgs.append (1 , Mask);
40734073
4074- CallInst *CI;
4074+ CallInst *CI =
4075+ IRB.CreateIntrinsic (I.getType (), I.getIntrinsicID (), ShadowArgs);
40754076 // The AVX masked load intrinsics do not have integer variants. We use the
40764077 // floating-point variants, and assume that the intrinsic will happily copy
40774078 // the shadows even if they are interpreted as "invalid" floating-point
40784079 // values (NaN etc.).
4079- CI = IRB.CreateIntrinsic (I.getType (), I.getIntrinsicID (), ShadowArgs);
40804080 setShadow (&I, IRB.CreateBitCast (CI, getShadowTy (&I)));
40814081
40824082 if (!MS.TrackOrigins )
You can’t perform that action at this time.
0 commit comments