llvm-project/llvm/test/Transforms/PGOProfile
Rong Xu a5b5745a62 [PGO] Fix PGO use ICE when there are unreachable BBs
For -O0 there might be unreachable BBs, which breaks the assumption that all the
BBs have an auxiliary data structure.  In this patch, we add another interface
called findBBInfo() so that a nullptr can be returned for the unreachable BBs
(and the callers can ignore those BBs).

This fixes the bug reported
https://llvm.org/bugs/show_bug.cgi?id=31209

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

llvm-svn: 288528
2016-12-02 19:10:29 +00:00
..
Inputs [PGO] Fix PGO use ICE when there are unreachable BBs 2016-12-02 19:10:29 +00:00
X86 [PGO] resubmit r268969 2016-05-10 17:45:33 +00:00
PR28219.ll Fix PR28219: Use profile summary from reader and not compute it 2016-06-21 19:29:49 +00:00
branch1.ll [Profile] add test with large counts 2016-08-20 05:28:42 +00:00
branch2.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
comdat_internal.ll [PGO] Fix profile mismatch in COMDAT function with pre-inliner 2016-07-25 18:45:37 +00:00
comdat_rename.ll [PGO] Create weak alias for the renamed Comdat function 2016-10-06 20:38:13 +00:00
criticaledge.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
diag_FE_profile.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
diag_mismatch.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
diag_no_funcprofdata.ll [Profile] improve warning control option 2016-08-11 05:09:30 +00:00
diag_no_profile.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
do-not-instrument.ll [PM] port IR based PGO prof-gen pass to new pass manager 2016-05-06 05:49:19 +00:00
icp_covariant_call_return.ll [PM] Port indirect call promotion pass to new pass manager 2016-05-16 16:31:07 +00:00
icp_covariant_invoke_return.ll [PM] Port indirect call promotion pass to new pass manager 2016-05-16 16:31:07 +00:00
icp_invoke.ll [PM] Port indirect call promotion pass to new pass manager 2016-05-16 16:31:07 +00:00
icp_mismatch_msg.ll make icall pass name consistent /NFC 2016-06-02 01:52:05 +00:00
icp_vararg.ll [PM] Port indirect call promotion pass to new pass manager 2016-05-16 16:31:07 +00:00
indirect_call_annotation.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
indirect_call_profile.ll [PGO] Fix profile mismatch in COMDAT function with pre-inliner 2016-07-25 18:45:37 +00:00
indirect_call_promotion.ll make icall pass name consistent /NFC 2016-06-02 01:52:05 +00:00
landingpad.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
loop1.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
loop2.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
preinline.ll [Profile] Use explicit flag to enable IR PGO 2016-07-23 04:28:52 +00:00
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 [PM] port IR based PGO prof-gen pass to new pass manager 2016-05-06 05:49:19 +00:00
statics_counter_naming.ll [PGO] Don't include full file path in static function profile counter names 2016-07-12 17:14:51 +00:00
switch.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
thinlto_indirect_call_promotion.ll [ThinLTO] Indirect call promotion fixes for promoted local functions 2016-08-29 22:46:56 +00:00
unreachable_bb.ll [PGO] Fix PGO use ICE when there are unreachable BBs 2016-12-02 19:10:29 +00:00