]> granicus.if.org Git - llvm/commit
Move accurate-sample-profile into the function attribute.
authorDehao Chen <dehao@google.com>
Thu, 24 Aug 2017 21:37:04 +0000 (21:37 +0000)
committerDehao Chen <dehao@google.com>
Thu, 24 Aug 2017 21:37:04 +0000 (21:37 +0000)
commitd38687abb55ffe11f0722b69b2f2f833c7a1ffce
treecf81c1fd3ab6142c4f5eae5b76a3cd5169a6659e
parent2de563a9abb2af6eecf364a0612fea55f8dfb445
Move accurate-sample-profile into the function attribute.

Summary: We need to have accurate-sample-profile in function attribute so that it works with LTO.

Reviewers: davidxl, rsmith

Reviewed By: davidxl

Subscribers: sanjoy, mehdi_amini, javed.absar, llvm-commits, eraman

Differential Revision: https://reviews.llvm.org/D37113

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311706 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Attributes.td
lib/Analysis/ProfileSummaryInfo.cpp
test/Transforms/Inline/inline-cold-callsite-samplepgo.ll