1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Transforms/LCSSA
Nabeel Omer 4ce8799006 [DebugInfo] Avoid re-ordering assignments in LCSSA
The LCSSA pass makes use of a function insertDebugValuesForPHIs() to
propogate dbg.value() intrinsics to newly inserted PHI instructions. Faulty
behaviour occurs when the parent PHI of a newly inserted PHI is not the
most recent assignment to a source variable. insertDebugValuesForPHIs ends
up propagating a value that isn't the most recent assignemnt.

This change removes the call to insertDebugValuesForPHIs() from LCSSA,
preventing incorrect dbg.value intrinsics from being propagated.
Propagating variable locations between blocks will occur later, during
LiveDebugValues.

Differential Revision: https://reviews.llvm.org/D92576
2020-12-17 16:17:32 +00:00
..
2006-06-03-IncorrectIDFPhis.ll
2006-06-12-MultipleExitsSameBlock.ll
2006-07-09-NoDominator.ll
2006-10-31-UnreachableBlock-2.ll
2006-10-31-UnreachableBlock.ll
2007-07-12-LICM-2.ll
2007-07-12-LICM-3.ll
2007-07-12-LICM.ll
avoid-intrinsics-in-catchswitch.ll
basictest.ll
DontInsertDebugValuesForPHIs.ll
indirectbr.ll
invoke-dest.ll
mixed-catch.ll
pr28424.ll
pr28608.ll
pr44058.ll
pr44320.ll
remove-phis.ll
rewrite-existing-dbg-values.ll
unreachable-use.ll
unused-phis.ll