[all-commits] [llvm/llvm-project] dd21c6: [DAG] Ensure all SD classes consistently return a ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri May 7 06:49:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd21c6b843b25d2d65daab561fe47b4157c32952
      https://github.com/llvm/llvm-project/commit/dd21c6b843b25d2d65daab561fe47b4157c32952
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h

  Log Message:
  -----------
  [DAG] Ensure all SD classes consistently return a const reference with getDebugLoc(). NFCI.

Avoids a lot of unnecessary tracking increments/decrements of the underlying TrackingMDNodeRef.


  Commit: c9d4b4173b56c5a56d32d07be660f872b9746f87
      https://github.com/llvm/llvm-project/commit/c9d4b4173b56c5a56d32d07be660f872b9746f87
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M llvm/lib/CodeGen/LiveDebugVariables.cpp

  Log Message:
  -----------
  [CodeGen] Ensure UserValue::getDebugLoc() and UserLabel::getDebugLoc() consistently return a const reference NFCI.

Avoids a lot of unnecessary tracking increments/decrements of the underlying TrackingMDNodeRef.


Compare: https://github.com/llvm/llvm-project/compare/6248d1119040...c9d4b4173b56


More information about the All-commits mailing list