diff options
author | Adam Nemet <anemet@apple.com> | 2017-01-30 16:22:45 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2017-01-30 16:22:45 +0000 |
commit | e7bdf227f66eb66fa2a34534bff7443aa1a7eead (patch) | |
tree | 2c6f9ff91deb10c593251425a85239b50b860ffe /llvm/test | |
parent | b561cf953ab13c6bbc6e93e46f34336eff381211 (diff) | |
download | bcm5719-llvm-e7bdf227f66eb66fa2a34534bff7443aa1a7eead.tar.gz bcm5719-llvm-e7bdf227f66eb66fa2a34534bff7443aa1a7eead.zip |
[Inliner] Fold analysis remarks into missed remarks
This significantly reduces the noise level of these messages.
llvm-svn: 293492
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll | 3 | ||||
-rw-r--r-- | llvm/test/Transforms/Inline/optimization-remarks.ll | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll b/llvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll index 9611a2dd1bd..1d6d135bdda 100644 --- a/llvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll +++ b/llvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll @@ -4,8 +4,7 @@ ; CHECK: foo should always be inlined (cost=always) (hotness: 30) ; CHECK: foo inlined into bar (hotness: 30) -; CHECK: foz should never be inlined (cost=never) (hotness: 30) -; CHECK: foz will not be inlined into bar (hotness: 30) +; CHECK: foz not inlined into bar because it should never be inlined (cost=never) (hotness: 30) ; Function Attrs: alwaysinline nounwind uwtable define i32 @foo() #0 !prof !1 { diff --git a/llvm/test/Transforms/Inline/optimization-remarks.ll b/llvm/test/Transforms/Inline/optimization-remarks.ll index 59cf0832735..61e270cff76 100644 --- a/llvm/test/Transforms/Inline/optimization-remarks.ll +++ b/llvm/test/Transforms/Inline/optimization-remarks.ll @@ -9,8 +9,7 @@ ; NO_HOTNESS-NOT: fox will not be inlined into bar because its definition is unavailable ; CHECK: foo should always be inlined (cost=always) ; CHECK: foo inlined into bar -; CHECK: foz should never be inlined (cost=never) -; CHECK: foz will not be inlined into bar +; CHECK: foz not inlined into bar because it should never be inlined (cost=never) ; Function Attrs: alwaysinline nounwind uwtable define i32 @foo(i32 %x, i32 %y) #0 { |