[all-commits] [llvm/llvm-project] 555df0: [SelectionDAG][NFC] Clean up SDCallSiteDbgInfo acc...

Marco Elver via All-commits all-commits at lists.llvm.org
Wed Mar 16 09:46:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 555df030121aeaaf33b1a89489960a77ef94d472
      https://github.com/llvm/llvm-project/commit/555df030121aeaaf33b1a89489960a77ef94d472
  Author: Marco Elver <elver at google.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

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

  Log Message:
  -----------
  [SelectionDAG][NFC] Clean up SDCallSiteDbgInfo accessors

* Consistent naming: addCallSiteInfo vs. getCallSiteInfo;
* Use ternary operator to reduce verbosity;
* const'ify getters;
* Add comments;

NFCI.

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




More information about the All-commits mailing list