File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ void bar(int x) {
56
56
// THRESHOLD-NOT: hotness
57
57
// NO_PGO: '-fdiagnostics-show-hotness' requires profile-guided optimization information
58
58
// NO_PGO: '-fdiagnostics-hotness-threshold=' requires profile-guided optimization information
59
- // expected-remark@+2 {{foo should always be inlined (cost=always) (hotness: 30)}}
60
- // expected-remark@+1 {{foo inlined into bar (hotness: 30)}}
59
+ // expected-remark@+1 {{foo inlined into bar with cost=always}}
61
60
sum += foo (x , x - 2 );
62
61
}
63
62
Original file line number Diff line number Diff line change @@ -42,9 +42,8 @@ float foz(int x, int y) { return x * y; }
42
42
// twice.
43
43
//
44
44
int bar (int j ) {
45
- // expected-remark@+4 {{foz not inlined into bar because it should never be inlined (cost=never)}}
46
45
// expected-remark@+3 {{foz not inlined into bar because it should never be inlined (cost=never)}}
47
- // expected-remark@+2 {{foo should always be inlined}}
46
+ // expected-remark@+2 {{foz not inlined into bar because it should never be inlined (cost=never) }}
48
47
// expected-remark@+1 {{foo inlined into bar}}
49
48
return foo (j , j - 2 ) * foz (j - 2 , j );
50
49
}
You can’t perform that action at this time.
0 commit comments