[all-commits] [llvm/llvm-project] 537f0f: [DebugInfo] Follow up c521e44defb5 with an API imp...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Wed Oct 21 06:46:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 537f0fbe82049b8d5b6c700ecc4ab166c350b0c6
      https://github.com/llvm/llvm-project/commit/537f0fbe82049b8d5b6c700ecc4ab166c350b0c6
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/lib/CodeGen/MachineFunction.cpp

  Log Message:
  -----------
  [DebugInfo] Follow up c521e44defb5 with an API improvement

As mentioned post-commit in D85749, the 'substituteDebugValuesForInst'
method added in c521e44defb5 would be better off with a limit on the
number of operands to substitute. This handles the common case of
"substitute the first operand between these two differing instructions",
or possibly up to N first operands.




More information about the All-commits mailing list