[all-commits] [llvm/llvm-project] 53fd5a: [DebugInfo] Let InstrRefBasedLDV handle joins for ...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Mon Aug 22 12:23:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53fd5af689268140466897912be1075e3ed50d8e
      https://github.com/llvm/llvm-project/commit/53fd5af689268140466897912be1075e3ed50d8e
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2022-08-22 (Mon, 22 Aug 2022)

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

  Log Message:
  -----------
  [DebugInfo] Let InstrRefBasedLDV handle joins for lists of debug ops

In preparation for adding support for DBG_VALUE_LIST instructions in
InstrRefLDV, this patch updates the logic for joining variables at block
joins to support joining variables that use multiple debug operands.
This is one of the more meaty "logical" changes, although the line count
isn't too high - this changes pickVPHILoc to find a valid joined
location for every operand, with part of the function being split off
into pickValuePHILoc which finds a location for a single operand.

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




More information about the All-commits mailing list