mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-10 22:43:46 +00:00
Attempt to fix builds broken by r259595.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02e0bb6dc6
commit
e1e04cba57
@ -840,7 +840,7 @@ public:
|
||||
return DefIterator == Other.DefIterator;
|
||||
}
|
||||
|
||||
typename BaseT::iterator::reference operator*() const {
|
||||
BaseT::iterator::reference operator*() const {
|
||||
assert(DefIterator != OriginalAccess->defs_end() &&
|
||||
"Tried to access past the end of our iterator");
|
||||
return CurrentPair;
|
||||
|
@ -379,7 +379,7 @@ bool MemorySSA::dominatesUse(const MemoryAccess *Replacer,
|
||||
// Since we may occur multiple times in the phi node, we have to check each
|
||||
// operand to ensure Replacer dominates each operand where Replacee occurs.
|
||||
for (const Use &Arg : MP->operands()) {
|
||||
if (Arg != Replacee &&
|
||||
if (Arg.get() != Replacee &&
|
||||
!DT->dominates(Replacer->getBlock(), MP->getIncomingBlock(Arg)))
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user