Skip to content
Commit c9cd9a00 authored by Wei Mi's avatar Wei Mi
Browse files

[SampleFDO] Report error when reading a bad/incompatible profile instead of

turning off SampleFDO silently.

Currently sample loader pass turns off SampleFDO optimization silently when
it sees error in reading the profile. This behavior will defeat the tests
which could have caught those bad/incompatible profile problems. This patch
change the behavior to report error.

Differential Revision: https://reviews.llvm.org/D95269
parent 299b0e5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment