[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
Mon Nov 12 03:31:40 PST 2018


dstenb updated this revision to Diff 173646.
dstenb added a comment.

Add another non-metadata user of `@global_arr` to the test case so that the verification of the global's use-list order fails when running without this patch. Also generalize the comment in the test case.


https://reviews.llvm.org/D53758

Files:
  lib/Bitcode/Writer/ValueEnumerator.cpp
  lib/IR/AsmWriter.cpp
  test/Assembler/metadata-use-uselistorder.ll
  tools/verify-uselistorder/verify-uselistorder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53758.173646.patch
Type: text/x-patch
Size: 8841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181112/83f7bca0/attachment.bin>


More information about the llvm-commits mailing list