diff options
author | wren romano <2998727+wrengr@users.noreply.github.com> | 2021-08-24 18:29:05 -0700 |
---|---|---|
committer | wren romano <2998727+wrengr@users.noreply.github.com> | 2021-08-24 18:32:13 -0700 |
commit | 90e0c657b7cb3e4dd87229e338061d3cc27f6977 (patch) | |
tree | bfb520730b1f7aa72c12e1dc374dd66258211fbe /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | d5244fb16070068fc1dfae5804ab8ff86d25deb9 (diff) | |
download | llvm-90e0c657b7cb3e4dd87229e338061d3cc27f6977.zip llvm-90e0c657b7cb3e4dd87229e338061d3cc27f6977.tar.gz llvm-90e0c657b7cb3e4dd87229e338061d3cc27f6977.tar.bz2 |
[mlir][sparse] Correcting the use of emplace_back
The emplace commands are variadic and should take all the constructor arguments directly, since they implicitly call the constructor themselves in order to avoid the cost of constructing and then moving/copying temporaries.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D108670
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions