forked from OSchip/llvm-project
![]() The "join" method in LiveDebugValues does not attempt to join unseen predecessor blocks if their out-locations aren't yet initialized, instead the block should be re-visited later to see if any locations have changed validity. However, because the set of blocks were all being "process"'d once before "join" saw them, that logic in "join" was actually ignoring legitimate out-locations on the first pass through. This meant that some invalidated locations were not removed from the head of loops, allowing illegal locations to persist. Fix this by removing the run of "process" before the main join/process loop in ExtendRanges. Now the unseen predecessors that "join" skips truly are uninitialized, and we come back to the block at a later time to re-run "join", see the @baz function added. This also fixes another fault where stack/register transfers in the entry block (or any other before-any-loop-block) had their tranfers initially ignored, and were then never revisited. The MIR test added tests for this behaviour. XFail a test that exposes another bug; a fix for this is coming in D66895. Differential Revision: https://reviews.llvm.org/D66663 llvm-svn: 370328 |
||
---|---|---|
.. | ||
asan-stack-vars.mir | ||
big-endian-dump.ll | ||
big-endian.ll | ||
bitfields.ll | ||
cfi-eof-prologue.ll | ||
coalescing.ll | ||
compiler-gen-bbs-livedebugvalues.mir | ||
constant-dbgloc.ll | ||
dagcombine-zext.ll | ||
dbg-value-i8.ll | ||
dbg-value-i16.ll | ||
dwarfdump.ll | ||
eh_frame.s | ||
eh_frame_personality.ll | ||
frameindices.ll | ||
inlined-argument.ll | ||
line-header.ll | ||
lit.local.cfg | ||
little-endian-dump.ll | ||
machine-outliner.ll | ||
processes-relocations.ll | ||
prologue_end.ll | ||
return-address-signing.ll | ||
struct_by_value.ll | ||
tls-at-location.ll |