diff options
Diffstat (limited to 'clang/test/Frontend/optimization-remark-with-hotness.c')
-rw-r--r-- | clang/test/Frontend/optimization-remark-with-hotness.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Frontend/optimization-remark-with-hotness.c b/clang/test/Frontend/optimization-remark-with-hotness.c index 06e1b8af363..ca9d020cb51 100644 --- a/clang/test/Frontend/optimization-remark-with-hotness.c +++ b/clang/test/Frontend/optimization-remark-with-hotness.c @@ -56,13 +56,13 @@ void bar(int x) { // THRESHOLD-NOT: hotness // NO_PGO: '-fdiagnostics-show-hotness' requires profile-guided optimization information // NO_PGO: '-fdiagnostics-hotness-threshold=' requires profile-guided optimization information - // expected-remark@+1 {{foo inlined into bar with cost=always}} + // expected-remark@+1 {{foo inlined into bar with cost=always (hotness:}} sum += foo(x, x - 2); } int main(int argc, const char *argv[]) { for (int i = 0; i < 30; i++) - // expected-remark@+1 {{bar not inlined into main because it should never be inlined}} + // expected-remark@+1 {{bar not inlined into main because it should never be inlined (cost=never) (hotness:}} bar(argc); return sum; } |