diff options
| author | Dehao Chen <dehao@google.com> | 2017-09-19 18:26:54 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2017-09-19 18:26:54 +0000 |
| commit | b6e60c8b80704e948cf049569145ddf8497d7e05 (patch) | |
| tree | 3d75dfb13efa0af1be8c57b31d5da83c50c98a79 /llvm/test/Transforms/ForcedFunctionAttrs | |
| parent | 26fa1bf4da3cbae98251ebd2db2dcee37b89120c (diff) | |
| download | bcm5719-llvm-b6e60c8b80704e948cf049569145ddf8497d7e05.tar.gz bcm5719-llvm-b6e60c8b80704e948cf049569145ddf8497d7e05.zip | |
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
llvm-svn: 313658
Diffstat (limited to 'llvm/test/Transforms/ForcedFunctionAttrs')
0 files changed, 0 insertions, 0 deletions

