Skip to content
  • Diego Novillo's avatar
    Add a new function attribute 'cold' to functions. · c6399539
    Diego Novillo authored
    Other than recognizing the attribute, the patch does little else.
    It changes the branch probability analyzer so that edges into
    blocks postdominated by a cold function are given low weight.
    
    Added analysis and code generation tests.  Added documentation for the
    new attribute.
    
    llvm-svn: 182638
    c6399539
Loading