[all-commits] [llvm/llvm-project] 638437: [NFC][IntrRefLDV] Improve the Value printing

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Wed Oct 28 07:39:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6384378582b429ff86ea10a7e48b4ab2001b1e4b
      https://github.com/llvm/llvm-project/commit/6384378582b429ff86ea10a7e48b4ab2001b1e4b
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp

  Log Message:
  -----------
  [NFC][IntrRefLDV] Improve the Value printing

Basically, this just improves the dump of the Value stored within a location.

If the defining instruction number is zero, it means it is "live-in".

Before the patch:

ESI --> bb 0 inst 0 loc ESI
After:

ESI --> Value{bb: 0, inst: live-in, loc: ESI}
This is an NFC.

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




More information about the All-commits mailing list