[all-commits] [llvm/llvm-project] af2713: [TableGen] Use map::try_emplace to construction DA...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Apr 9 16:33:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af27138315c2cef058c2ad8b4070d78d60b4fdd1
https://github.com/llvm/llvm-project/commit/af27138315c2cef058c2ad8b4070d78d60b4fdd1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-04-09 (Sun, 09 Apr 2023)
Changed paths:
M llvm/utils/TableGen/CodeGenDAGPatterns.cpp
Log Message:
-----------
[TableGen] Use map::try_emplace to construction DAGInstruction in the Instructions map. NFC
We add entries to the map in two places. One already used
std::piecewise_construct with map::emplace. The other was using
map::insert. Change both to map::try_emplace.
More information about the All-commits
mailing list