diff --git a/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp b/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp --- a/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp +++ b/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp @@ -198,7 +198,7 @@ OriginalLoads[std::make_pair(&*I, Indices)] = OrigLoad; // Preserve inbounds information of GEP so that it can be used in callers of current function const GEPOperator *GEPOp = dyn_cast_or_null(UI); - if(GEPOp){ + if(GEPOp) { // Indices are unique in GEP since all the dead GEPs are already removed IsArgGepInBound[std::make_pair(&*I, Indices)] = GEPOp->isInBounds(); }