1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/test/Transforms/PGOProfile
Rong Xu 33fafefbc5 [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
branch1.ll
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
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
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
unreachable_bb.ll [PGO] Fix PGO use ICE when there are unreachable BBs 2016-12-02 19:10:29 +00:00