HomePhabricator

Handle profile mismatch correctly for SamplePGO.

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

Details

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