[all-commits] [llvm/llvm-project] 0c0fce: Handle value uses wrapped in metadata for the use-...

David via All-commits all-commits at lists.llvm.org
Tue Oct 20 11:11:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c0fcea557e4a7cfd51216ad20aa67c82733ab52
      https://github.com/llvm/llvm-project/commit/0c0fcea557e4a7cfd51216ad20aa67c82733ab52
  Author: David Stenberg <david.stenberg at ericsson.com>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
    M llvm/lib/IR/AsmWriter.cpp
    A llvm/test/Assembler/metadata-use-uselistorder.ll
    M llvm/tools/verify-uselistorder/verify-uselistorder.cpp

  Log Message:
  -----------
  Handle value uses wrapped in metadata for the use-list order

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.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D53758




More information about the All-commits mailing list