[NFC][ScheduleDAG] Use structure bindings and emplace_back
authorPavel Samolysov <samolisov@gmail.com>
Mon, 12 Sep 2022 12:24:09 +0000 (15:24 +0300)
committerPavel Samolysov <samolisov@gmail.com>
Mon, 12 Sep 2022 12:54:48 +0000 (15:54 +0300)
commit05946c144dc6c383e2f4a15353baa6ea2a65517b
treed64f1ee09c378f10278631923910eea7df41577c
parentcf72dddaefe9b0b15cf6d1e7d6b991eded78b40f
[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.
llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp