Index: lib/Analysis/ValueLatticeUtils.cpp =================================================================== --- lib/Analysis/ValueLatticeUtils.cpp +++ lib/Analysis/ValueLatticeUtils.cpp @@ -22,7 +22,8 @@ } bool llvm::canTrackReturnsInterprocedurally(Function *F) { - return F->hasExactDefinition() && !F->hasFnAttribute(Attribute::Naked); + return F->hasExactDefinition() && !F->hasFnAttribute(Attribute::Naked) + && !F.hasFnAttribute(Attribute::NoInline); } bool llvm::canTrackGlobalVariableInterprocedurally(GlobalVariable *GV) {