[PATCH] D112006: [DebugInfo][InstrRef] Add unit tests for transfer-function building

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 20 04:04:15 PDT 2021


jmorse updated this revision to Diff 380892.
jmorse added a comment.

This revision restores a condition/block I deleted from transferDebugPHI: the unit tests weren't observing transferDebugPHI doing anything, which I figured was a bug. However, it was actually because the unit tests were adding the variable-value-tracker / VTracker to InstrRefBasedLDV, making it think it was in a different phase of analysis.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112006/new/

https://reviews.llvm.org/D112006

Files:
  llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
  llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
  llvm/unittests/CodeGen/InstrRefLDVTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112006.380892.patch
Type: text/x-patch
Size: 24707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211020/9249097d/attachment.bin>


More information about the llvm-commits mailing list