1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/test/Transforms/PGOProfile
Rong Xu 95093c2f32 [PGO] Fix select instruction annotation
Summary:
Select instruction annotation in IR PGO uses the edge count to infer the
branch count. It's currently placed in setInstrumentedCounts() where
no all the BB counts have been computed. This leads to wrong branch weights.
Move the annotation after all BB counts are populated.

Reviewers: davidxl

Subscribers: llvm-commits

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

llvm-svn: 285128
2016-10-25 21:47:24 +00:00
..
Inputs [PGO] Fix select instruction annotation 2016-10-25 21:47:24 +00:00
X86
branch1.ll [Profile] add test with large counts 2016-08-20 05:28:42 +00:00
branch2.ll
comdat_internal.ll
comdat_rename.ll [PGO] Create weak alias for the renamed Comdat function 2016-10-06 20:38:13 +00:00
criticaledge.ll
diag_FE_profile.ll
diag_mismatch.ll
diag_no_funcprofdata.ll [Profile] improve warning control option 2016-08-11 05:09:30 +00:00
diag_no_profile.ll
do-not-instrument.ll
icp_covariant_call_return.ll
icp_covariant_invoke_return.ll
icp_invoke.ll
icp_mismatch_msg.ll
icp_vararg.ll
indirect_call_annotation.ll
indirect_call_profile.ll
indirect_call_promotion.ll
landingpad.ll
loop1.ll
loop2.ll
PR28219.ll
preinline.ll
select1.ll [Profile] Implement select instruction instrumentation in IR PGO 2016-09-18 18:34:07 +00:00
select2.ll [PGO] Fix select instruction annotation 2016-10-25 21:47:24 +00:00
single_bb.ll
statics_counter_naming.ll
switch.ll
thinlto_indirect_call_promotion.ll [ThinLTO] Indirect call promotion fixes for promoted local functions 2016-08-29 22:46:56 +00:00