forked from OSchip/llvm-project
[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:
parent
1f849e3b84
commit
f23eb70e03
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue