HomePhabricator

[clang][NewPM] Remove exception handling before loading pgo sample profile data

Authored by leonardchan on Jun 24 2019, 9:44 AM.

Description

[clang][NewPM] Remove exception handling before loading pgo sample profile data

This patch ensures that SimplifyCFGPass comes before SampleProfileLoaderPass
on PGO runs in the new PM and fixes clang/test/CodeGen/pgo-sample.c.

Differential Revision: https://reviews.llvm.org/D63626

llvm-svn: 364201