diff --git a/llvm/lib/ProfileData/SampleProf.cpp b/llvm/lib/ProfileData/SampleProf.cpp index 0243e5f9d32be..9862605eed878 100644 --- a/llvm/lib/ProfileData/SampleProf.cpp +++ b/llvm/lib/ProfileData/SampleProf.cpp @@ -34,7 +34,7 @@ static cl::opt ProfileSymbolListCutOff( "will be used. This is very useful for performance debugging")); cl::opt GenerateMergedBaseProfiles( - "generate-merged-base-profiles", cl::init(true), cl::ZeroOrMore, + "generate-merged-base-profiles", cl::init(false), cl::ZeroOrMore, cl::desc("When generating nested context-sensitive profiles, always " "generate extra base profile for function with all its context " "profiles merged into it.")); diff --git a/llvm/test/tools/llvm-profgen/cs-preinline.test b/llvm/test/tools/llvm-profgen/cs-preinline.test index f9556b104317e..1844c6533f0e6 100644 --- a/llvm/test/tools/llvm-profgen/cs-preinline.test +++ b/llvm/test/tools/llvm-profgen/cs-preinline.test @@ -78,7 +78,7 @@ ; CHECK-PREINL-NEST-NEXT: 65526: 14 ; CHECK-PREINL-NEST-NEXT: 3.1: bar:84 ; CHECK-PREINL-NEST-NEXT: 1: 14 -; CHECK-PREINL-NEST-NEXT: !Attributes: 7 +; CHECK-PREINL-NEST-NEXT: !Attributes: 3 ; CHECK-PREINL-FLAG: ProfileSummarySection {{.*}} Flags: {{{.*}}preInlined}