git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254260
91177308-0d34-0410-b5e6-
96231b3b80d8
// Check if this store interferes with any of the loads that we found.
// If we find a load that alias with this store. Stop the sequence.
if (std::any_of(AliasLoadNodes.begin(), AliasLoadNodes.end(),
// Check if this store interferes with any of the loads that we found.
// If we find a load that alias with this store. Stop the sequence.
if (std::any_of(AliasLoadNodes.begin(), AliasLoadNodes.end(),
- std::bind(std::mem_fn(&DAGCombiner::isAlias), this,
- std::placeholders::_1, StoreNodes[i].MemNode)))
+ [&](LSBaseSDNode* Ldn) {
+ return isAlias(Ldn, StoreNodes[i].MemNode);
+ }))
break;
// Mark this node as useful.
break;
// Mark this node as useful.