commit | 6c8d9bce0325cb812d70a7d444ddf9aa38859be7 | [log] [tgz] |
---|---|---|
author | Piotr Padlewski <piotr.padlewski@gmail.com> | Wed Dec 28 20:36:08 2016 +0000 |
committer | Piotr Padlewski <piotr.padlewski@gmail.com> | Wed Dec 28 20:36:08 2016 +0000 |
tree | 62b6a52eed876d048b59a1af315efecf75a85c49 | |
parent | a0ca6ae2d38339e4ede0dfa588086fc23d87e836 [diff] |
[NewGVN] replace emplace_back with push_back emplace_back is not faster if it is equivalent to push_back. In this cases emplaced value had the same type that the one stored in container. It is ugly and it might be even slower (see Scott Meyers presentation about emplacement). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290685 91177308-0d34-0410-b5e6-96231b3b80d8