diff --git a/llvm/test/Transforms/Inline/inline_stats.ll b/llvm/test/Transforms/Inline/inline_stats.ll index 1d06ff5d533f9c..1553da04c7b6d0 100644 --- a/llvm/test/Transforms/Inline/inline_stats.ll +++ b/llvm/test/Transforms/Inline/inline_stats.ll @@ -9,9 +9,6 @@ ; RUN: opt -S -passes=inliner-wrapper-no-mandatory-first -inliner-function-import-stats=basic < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-BASIC,CHECK ; RUN: opt -S -passes=inliner-wrapper-no-mandatory-first -inliner-function-import-stats=verbose < %s 2>&1 | FileCheck %s --check-prefixes="CHECK-VERBOSE",CHECK -; RUN: opt -S -passes=inliner-wrapper -inliner-function-import-stats=basic < %s 2>&1 | FileCheck %s --check-prefix=MANDATORY-FIRST -; RUN: opt -S -passes=inliner-wrapper -inliner-function-import-stats=verbose < %s 2>&1 | FileCheck %s --check-prefix=MANDATORY-FIRST - ; CHECK: ------- Dumping inliner stats for [] ------- ; CHECK-BASIC-NOT: -- List of inlined functions: ; CHECK-BASIC-NOT: -- Inlined not imported function @@ -30,21 +27,6 @@ ; CHECK: non-imported functions inlined anywhere: 1 [33.33% of non-imported functions] ; CHECK: non-imported functions inlined into importing module: 1 [33.33% of non-imported functions] -; MANDATORY-FIRST: -- Summary: -; MANDATORY-FIRST: All functions: 10, imported functions: 7 -; MANDATORY-FIRST: inlined functions: 4 [40% of all functions] -; MANDATORY-FIRST: imported functions inlined anywhere: 3 [42.86% of imported functions] -; MANDATORY-FIRST: imported functions inlined into importing module: 2 [28.57% of imported functions], remaining: 5 [71.43% of imported functions] -; MANDATORY-FIRST: non-imported functions inlined anywhere: 1 [33.33% of non-imported functions] -; MANDATORY-FIRST: non-imported functions inlined into importing module: 1 [33.33% of non-imported functions] -; MANDATORY-FIRST: -- Summary: -; MANDATORY-FIRST: All functions: 10, imported functions: 7 -; MANDATORY-FIRST: inlined functions: 1 [10% of all functions] -; MANDATORY-FIRST: imported functions inlined anywhere: 1 [14.29% of imported functions] -; MANDATORY-FIRST: imported functions inlined into importing module: 1 [14.29% of imported functions], remaining: 6 [85.71% of imported functions] -; MANDATORY-FIRST: non-imported functions inlined anywhere: 0 [0% of non-imported functions] -; MANDATORY-FIRST: non-imported functions inlined into importing module: 0 [0% of non-imported functions] - define void @internal() { call fastcc void @external1() call fastcc void @internal2()