[PATCH] D136173: [DebugInfo] Add function to test debug values for equivalence
Stephen Tozer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 7 09:26:09 PST 2022
StephenTozer updated this revision to Diff 473686.
StephenTozer added a comment.
Rewrote the test to remove some incorrect behaviour; new test uses two different variables to compare direct/indirect and non-variadic/variadic separately. Also, add the missing variable equality check in the added MachineInstr function (the only caller already checks for variable equivalence, but the function would be misleading if it didn't do so as well!)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136173/new/
https://reviews.llvm.org/D136173
Files:
llvm/include/llvm/CodeGen/MachineInstr.h
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
llvm/lib/CodeGen/MachineInstr.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/test/DebugInfo/Generic/merge-equivalent-ranges.ll
llvm/unittests/IR/MetadataTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136173.473686.patch
Type: text/x-patch
Size: 18060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221107/8184cdda/attachment.bin>
More information about the llvm-commits
mailing list