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

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


  Branch: refs/heads/codegen/scheduling/schedule-dag-cpp-17
  Home:   https://github.com/llvm/llvm-project
  Commit: fe67401fd8140787b0591bb0e1de39ad78f34456
      https://github.com/llvm/llvm-project/commit/fe67401fd8140787b0591bb0e1de39ad78f34456
  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.




More information about the All-commits mailing list