Skip to content

Commit a4db702

Browse files
committed
[AMDGPU] Remove assert
Remove assert introduced in D101177, following post-commit feedback.
1 parent f58e051 commit a4db702

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,6 @@ bool SIInsertWaitcnts::insertWaitcntInBlock(MachineFunction &MF,
15251525
// there cannot be a vector store to the same memory location.
15261526
if (!Memop->isInvariant()) {
15271527
const Value *Ptr = Memop->getValue();
1528-
assert(Ptr);
15291528
SLoadAddresses.insert(std::make_pair(Ptr, Inst.getParent()));
15301529
}
15311530
}

0 commit comments

Comments
 (0)