[MSSA] Remove useless assert. NFC.

liveOnEntry is always a MemoryDef; asserting that a MemoryPhi isn't
liveOnEntry, while correct, isn't very helpful. :)

llvm-svn: 276542
This commit is contained in:
George Burgess IV 2016-07-24 01:50:07 +00:00
parent 1f849e3b84
commit f23eb70e03
1 changed files with 0 additions and 1 deletions

View File

@ -368,7 +368,6 @@ class ClobberWalker {
/// keep track of this information for us, and allow us O(1) lookups of this
/// info.
MemoryAccess *getWalkTarget(const MemoryPhi *From) {
assert(!MSSA.isLiveOnEntryDef(From) && "liveOnEntry has no target.");
assert(From->getNumOperands() && "Phi with no operands?");
BasicBlock *BB = From->getBlock();