commit | f62637a83737d955b8c19d0113f1b088ff26904e | [log] [tgz] |
---|---|---|
author | Dehao Chen <dehao@google.com> | Thu Mar 23 23:26:00 2017 +0000 |
committer | Dehao Chen <dehao@google.com> | Thu Mar 23 23:26:00 2017 +0000 |
tree | b96e2bddcf64441f4f6a29e507213488d7c8f83f | |
parent | 69af69a8ffe9cc9627c71dfcc9b63ada682c6010 [diff] |
Set the prof weight correctly for call instructions in DeadArgumentElimination. Summary: In DeadArgumentElimination, the call instructions will be replaced. We also need to set the prof weights so that function inlining can find the correct profile. Reviewers: eraman Reviewed By: eraman Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D31143 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298660 91177308-0d34-0410-b5e6-96231b3b80d8