1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[AMDGPU] Remove assert

Remove assert introduced in D101177, following post-commit feedback.
This commit is contained in:
Piotr Sobczak 2021-05-12 14:52:02 +02:00
parent 4479d97145
commit 876cd27749

View File

@ -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()));
}
}