Skip to content

Commit 8193e42

Browse files
authored
[AMDGPU] Fix a compile warning in MemorySanitizer.cpp (llvm#2011)
1 parent f863730 commit 8193e42

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3550,9 +3550,6 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
35503550
S2_ext = IRB.CreateBitCast(S2_ext, getMMXVectorTy(64));
35513551
}
35523552

3553-
Function *ShadowFn = Intrinsic::getOrInsertDeclaration(
3554-
F.getParent(), getSignedPackIntrinsic(I.getIntrinsicID()));
3555-
35563553
Value *S = IRB.CreateIntrinsic(getSignedPackIntrinsic(I.getIntrinsicID()),
35573554
{S1_ext, S2_ext}, /*FMFSource=*/nullptr,
35583555
"_msprop_vector_pack");

0 commit comments

Comments
 (0)