[NFC][ScheduleDAGInstrs] Use structure bindings and emplace_back
authorPavel Samolysov <samolisov@gmail.com>
Tue, 13 Sep 2022 08:04:30 +0000 (11:04 +0300)
committerPavel Samolysov <samolisov@gmail.com>
Tue, 13 Sep 2022 09:49:04 +0000 (12:49 +0300)
commit02aaf8e3d6e73116648afcbb691839ecec80aa0e
tree8f063eeede3ebcfc67a2777c098be5c5b4501369
parenta80116efecef3ad52b30b2917bd33947e8d0981d
[NFC][ScheduleDAGInstrs] Use structure bindings and emplace_back

Some uses of std::make_pair and the std::pair's first/second members
in the ScheduleDAGInstrs.[cpp|h] files were replaced with using of the
vector's emplace_back along with structure bindings from C++17.
llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp