llvm-project/llvm/test/Transforms/CallSiteSplitting
Florian Hahn 5b7e21a6b7 [CallSiteSplitting] Add debug location to created PHI nodes.
There are 2 cases when we create PHI nodes:
 * For the result of the call that was duplicated in the split blocks.
   Those PHI nodes should have the debug location of the call.

 * For values produced before the call. Those instructions need to be
   duplicated in the split blocks and the PHI nodes should have the
   debug locations of those instructions.

Fixes PR37962.

Reviewers: junbuml, gbedwell, vsk

Reviewed By: junbuml

Tags: #debug-info

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

llvm-svn: 341970
2018-09-11 17:55:58 +00:00
..
callsite-instructions-before-call.ll Recommit r325001: [CallSiteSplitting] Support splitting of blocks with instrs before call. 2018-02-14 13:59:12 +00:00
callsite-no-or-structure.ll Recommit r325001: [CallSiteSplitting] Support splitting of blocks with instrs before call. 2018-02-14 13:59:12 +00:00
callsite-no-splitting.ll [CallSiteSplitting] Fix infinite loop when recording conditions. 2018-01-26 10:36:50 +00:00
callsite-split-debug.ll Recommit r325001: [CallSiteSplitting] Support splitting of blocks with instrs before call. 2018-02-14 13:59:12 +00:00
callsite-split-or-phi.ll [CallSiteSplit] Make sure we remove nonnull if the parameter turns out to be a constant. 2018-04-23 20:09:08 +00:00
callsite-split-preserve-debug.ll [CallSiteSplitting] Add debug location to created PHI nodes. 2018-09-11 17:55:58 +00:00
callsite-split.ll Recommit r325001: [CallSiteSplitting] Support splitting of blocks with instrs before call. 2018-02-14 13:59:12 +00:00
lpad.ll [CallSiteSplitting] Do not perform callsite splitting inside landing pad 2018-04-05 04:16:23 +00:00
musttail.ll [CallSiteSplitting] properly split musttail calls 2018-03-03 21:40:14 +00:00
split-loop.ll [CallSiteSplitting] Do not crash when BB's terminator changes. 2018-03-06 14:00:58 +00:00