[all-commits] [llvm/llvm-project] 05946c: [NFC][ScheduleDAG] Use structure bindings and empl...

Pavel Samolysov via All-commits all-commits at lists.llvm.org
Mon Sep 12 05:55:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05946c144dc6c383e2f4a15353baa6ea2a65517b
      https://github.com/llvm/llvm-project/commit/05946c144dc6c383e2f4a15353baa6ea2a65517b
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

  Log Message:
  -----------
  [NFC][ScheduleDAG] Use structure bindings and emplace_back

Some uses of std::make_pair and the std::pair's first/second members
in the ScheduleDAGRRList.cpp file were replaced with using of the
vector's emplace_back along with structure bindings from C++17.


  Commit: f045d0c3921e99e306738115574ea2ace34b9043
      https://github.com/llvm/llvm-project/commit/f045d0c3921e99e306738115574ea2ace34b9043
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

  Log Message:
  -----------
  [NFC][ScheduleDAG] Use a reference to iterate over NodeSuccs/ChainSuccs


Compare: https://github.com/llvm/llvm-project/compare/cf72dddaefe9...f045d0c3921e


More information about the All-commits mailing list