llvm-project/llvm/test/Transforms/HotColdSplit
Vedant Kumar d129569e34 [CodeExtractor] Split PHI nodes with incoming values from outlined region (PR39433)
If a PHI node out of extracted region has multiple incoming values from it,
split this PHI on two parts. First PHI has incomings only from region and
extracts with it (they are placed to the separate basic block that added to the
list of outlined), and incoming values in original PHI are replaced by first
PHI. Similar solution is already used in CodeExtractor for PHIs in entry block
(severSplitPHINodes method). It covers PR39433 bug.

Patch by Sergei Kachkov!

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

llvm-svn: 348205
2018-12-03 22:40:21 +00:00
..
X86 [HotColdSplitting] Use TTI to inform outlining threshold 2018-11-04 23:11:57 +00:00
delete-use-without-def-dbg-val.ll [CodeExtractor] Erase use-without-def debug intrinsics in parent func 2018-11-06 19:05:53 +00:00
do-not-split.ll [HotColdSplitting] Use TTI to inform outlining threshold 2018-11-04 23:11:57 +00:00
duplicate-phi-preds-crash.ll [CodeExtractor] Split PHI nodes with incoming values from outlined region (PR39433) 2018-12-03 22:40:21 +00:00
eh-typeid-for.ll [CodeExtractor] Do not extract calls to eh_typeid_for (PR39545) 2018-11-06 19:06:08 +00:00
minsize.ll [HotColdSplitting] Use TTI to inform outlining threshold 2018-11-04 23:11:57 +00:00
multiple-exits.ll [HotColdSplitting] Identify larger cold regions using domtree queries 2018-10-24 22:15:41 +00:00
outline-if-then-else.ll [HotColdSplitting] Identify larger cold regions using domtree queries 2018-10-24 22:15:41 +00:00
outline-while-loop.ll [HotColdSplitting] Identify larger cold regions using domtree queries 2018-10-24 22:15:41 +00:00
split-cold-2.ll [CodeExtractor] Mark functions noreturn when applicable 2018-11-08 17:57:09 +00:00
split-out-dbg-val-of-arg.ll [HotColdSplitting] Use TTI to inform outlining threshold 2018-11-04 23:11:57 +00:00