[all-commits] [llvm/llvm-project] 20bb9f: [LiveDebugValues] Install an implementation-pickin...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Sat Aug 22 06:52:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 20bb9fe565ab2c70b768d829d42bbbaea2be85cc
      https://github.com/llvm/llvm-project/commit/20bb9fe565ab2c70b768d829d42bbbaea2be85cc
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2020-08-22 (Sat, 22 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/CMakeLists.txt
    A llvm/lib/CodeGen/LiveDebugValues/LiveDebugValues.cpp
    A llvm/lib/CodeGen/LiveDebugValues/LiveDebugValues.h
    M llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp

  Log Message:
  -----------
  [LiveDebugValues] Install an implementation-picking LiveDebugValues pass

This patch renames the current LiveDebugValues class to "VarLocBasedLDV"
and removes the pass-registration code from it. It creates a separate
LiveDebugValues class that deals with pass registration and management,
that calls through to VarLocBasedLDV::ExtendRanges when
runOnMachineFunction is called. This is done through the "LDVImpl"
abstract class, so that a future patch can install the new
instruction-referencing LiveDebugValues implementation and have it
picked at runtime.

No functional change is intended, just shuffling responsibilities.

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




More information about the All-commits mailing list