HomePhabricator

Handle profile mismatch correctly for SamplePGO.

Authored by danielcdh on Sep 19 2017, 11:26 AM.

Description

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

Details

Committed
danielcdhSep 19 2017, 11:26 AM
Reviewer
tejohnson
Differential Revision
D38018: Handle profile mismatch correctly for SamplePGO.
Parents
rG26fa1bf4da3c: Re-land "Fix Bug 30978 by emitting cv file checksums."
Branches
Unknown
Tags
Unknown