Unbreak the build

My code clashed with some ilist iterator changes upstream.  Fix by
adding an explicit "&*" coercion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjoy Das 2015-11-07 02:26:53 +00:00
parent 934f075e35
commit 226fd8ff51

View File

@ -477,7 +477,7 @@ determinePointerReadAttrs(Argument *A,
// to a operand bundle use, these cannot participate in the optimistic SCC // to a operand bundle use, these cannot participate in the optimistic SCC
// analysis. Instead, we model the operand bundle uses as arguments in // analysis. Instead, we model the operand bundle uses as arguments in
// call to a function external to the SCC. // call to a function external to the SCC.
if (!SCCNodes.count(std::next(F->arg_begin(), UseIndex)) || if (!SCCNodes.count(&*std::next(F->arg_begin(), UseIndex)) ||
IsOperandBundleUse) { IsOperandBundleUse) {
// The accessors used on CallSite here do the right thing for calls and // The accessors used on CallSite here do the right thing for calls and