From 876cd277490820cad82d3d793019819696cd0f7a Mon Sep 17 00:00:00 2001 From: Piotr Sobczak Date: Wed, 12 May 2021 14:52:02 +0200 Subject: [PATCH] [AMDGPU] Remove assert Remove assert introduced in D101177, following post-commit feedback. --- lib/Target/AMDGPU/SIInsertWaitcnts.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Target/AMDGPU/SIInsertWaitcnts.cpp b/lib/Target/AMDGPU/SIInsertWaitcnts.cpp index bfac7df11df..7d6f79922d2 100644 --- a/lib/Target/AMDGPU/SIInsertWaitcnts.cpp +++ b/lib/Target/AMDGPU/SIInsertWaitcnts.cpp @@ -1525,7 +1525,6 @@ bool SIInsertWaitcnts::insertWaitcntInBlock(MachineFunction &MF, // there cannot be a vector store to the same memory location. if (!Memop->isInvariant()) { const Value *Ptr = Memop->getValue(); - assert(Ptr); SLoadAddresses.insert(std::make_pair(Ptr, Inst.getParent())); } }