[PATCH] D53758: Handle value uses wrapped in metadata for the use-list order
David Stenberg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 26 06:05:59 PDT 2018
dstenb created this revision.
dstenb added reviewers: dexonsmith, vsk, DmitryPolukhin.
Herald added a subscriber: llvm-commits.
When generating the use-list order, also consider value uses that are
operands which are wrapped in metadata; e.g. llvm.dbg.value operands.
This fixes PR36778. The test case is based on the reproducer from that
report.
Repository:
rL LLVM
https://reviews.llvm.org/D53758
Files:
lib/Bitcode/Writer/ValueEnumerator.cpp
lib/IR/AsmWriter.cpp
test/Assembler/metadata-wrapped-use-uselistorder.ll
tools/verify-uselistorder/verify-uselistorder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53758.171287.patch
Type: text/x-patch
Size: 5048 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181026/5fdd7166/attachment.bin>
More information about the llvm-commits
mailing list