commit | a84aa64e93ae94d42f8025e9d6ab89a19da422dd | [log] [tgz] |
---|---|---|
author | Dehao Chen <dehao@google.com> | Tue Sep 19 18:26:54 2017 +0000 |
committer | Dehao Chen <dehao@google.com> | Tue Sep 19 18:26:54 2017 +0000 |
tree | 4a337f6b118e93ea2baf4cb1e97a4e2fe6718528 | |
parent | 3796a45d298ba18926bea1eff2ac9a8e50f109ae [diff] |
Handle profile mismatch correctly for SamplePGO. Summary: Fix the bug when promoted call return type mismatches with the promoted function, we should not try to inline it. Otherwise it may lead to compiler crash. Reviewers: davidxl, tejohnson, eraman Reviewed By: tejohnson Subscribers: llvm-commits, sanjoy Differential Revision: https://reviews.llvm.org/D38018 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313658 91177308-0d34-0410-b5e6-96231b3b80d8