Summary: Callsites in the same basic block should share the same hotness. This patch checks for the hottest callsite in the same basic block, and use the hotness for all callsites in that basic block for early inline decisions. It also fixes the test to add "-S" so theat the "CHECK-NOT" is actually checking the content. Reviewers: dnovillo Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24734 llvm-svn: 281927
4 lines
46 B
Plaintext
4 lines
46 B
Plaintext
_Z3foov:200:100
|
|
1: _Z3barv:0
|
|
3: _Z3barv:100
|