remove pointless assert

The if above it ensures the property anyway.

llvm-svn: 190168
This commit is contained in:
Matthias Braun 2013-09-06 16:44:27 +00:00
parent b348d9703c
commit c0ad7bfa62
1 changed files with 0 additions and 2 deletions

View File

@ -583,8 +583,6 @@ bool RegisterCoalescer::removeCopyByCommutingDef(const CoalescerPair &CP,
if (!BValNo || BValNo->def != CopyIdx)
return false;
assert(BValNo->def == CopyIdx && "Copy doesn't define the value?");
// AValNo is the value number in A that defines the copy, A3 in the example.
VNInfo *AValNo = IntA.getVNInfoAt(CopyIdx.getRegSlot(true));
assert(AValNo && "COPY source not live");