summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/pgo-sample.c
Commit message (Collapse)AuthorAgeFilesLines
* [clang][NewPM] Remove exception handling before loading pgo sample profile dataLeonard Chan2019-06-241-3/+10
| | | | | | | | | 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
* Revert r307445 as it breaks on certain platforms.Dehao Chen2017-07-071-32/+4
| | | | llvm-svn: 307449
* Add sample PGO integration test to cover profile annotation and inlining.Dehao Chen2017-07-071-4/+32
| | | | | | | | | | | | | | Summary: The patch makes the integration test cover major sample PGO components. Reviewers: davidxl Reviewed By: davidxl Subscribers: sanjoy, cfe-commits Differential Revision: https://reviews.llvm.org/D34725 llvm-svn: 307445
* Remove InstructionCombining and its related pass from sample pgo passes as ↵Dehao Chen2016-09-191-3/+0
| | | | | | | | | | | | | | we can handle "invoke" correctly. Summary: We previously relies on InstructionCombining pass to remove invoke instructions. Now that we can inline invoke instructions correctly, we do not need these passes any more. Reviewers: dnovillo Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24730 llvm-svn: 281910
* Invoke simplifycfg and sroa before instcombine.Dehao Chen2016-06-231-0/+3
| | | | | | | | | | | | Summary: InstCombine needs to be performed after simplifycfg and sroa, otherwise it may make bad optimization decisions. Reviewers: davidxl, wmi, dnovillo Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21568 llvm-svn: 273606
* Invoke PruneEH pass before Sample Profile pass.Dehao Chen2016-06-211-0/+6
Summary: We need to call PruneEH pass before AutoFDO pass so that some EH-related calls can get inlined in Sample Profile pass. Reviewers: davidxl, dnovillo Subscribers: junbuml, llvm-commits Differential Revision: http://reviews.llvm.org/D21197 llvm-svn: 273298
OpenPOWER on IntegriCloud