Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit e1e04cb

Browse files
committed
Attempt to fix builds broken by r259595.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259599 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 02e0bb6 commit e1e04cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/llvm/Transforms/Utils/MemorySSA.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ class upward_defs_iterator
840840
return DefIterator == Other.DefIterator;
841841
}
842842

843-
typename BaseT::iterator::reference operator*() const {
843+
BaseT::iterator::reference operator*() const {
844844
assert(DefIterator != OriginalAccess->defs_end() &&
845845
"Tried to access past the end of our iterator");
846846
return CurrentPair;

lib/Transforms/Utils/MemorySSA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ bool MemorySSA::dominatesUse(const MemoryAccess *Replacer,
379379
// Since we may occur multiple times in the phi node, we have to check each
380380
// operand to ensure Replacer dominates each operand where Replacee occurs.
381381
for (const Use &Arg : MP->operands()) {
382-
if (Arg != Replacee &&
382+
if (Arg.get() != Replacee &&
383383
!DT->dominates(Replacer->getBlock(), MP->getIncomingBlock(Arg)))
384384
return false;
385385
}

0 commit comments

Comments
 (0)