[llvm] r252392 - Unbreak the build
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 6 18:26:53 PST 2015
Author: sanjoy
Date: Fri Nov 6 20:26:53 2015
New Revision: 252392
URL: http://llvm.org/viewvc/llvm-project?rev=252392&view=rev
Log:
Unbreak the build
My code clashed with some ilist iterator changes upstream. Fix by
adding an explicit "&*" coercion.
Modified:
llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp
Modified: llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp?rev=252392&r1=252391&r2=252392&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp Fri Nov 6 20:26:53 2015
@@ -477,7 +477,7 @@ determinePointerReadAttrs(Argument *A,
// to a operand bundle use, these cannot participate in the optimistic SCC
// analysis. Instead, we model the operand bundle uses as arguments in
// 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) {
// The accessors used on CallSite here do the right thing for calls and
More information about the llvm-commits
mailing list