[llvm-bugs] [Bug 30317] Constructing a vector with an initializer list generates more code than push_back / emplace_back

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 7 16:28:13 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30317

dcheng at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from dcheng at google.com ---
OK, a coworker pointed out to me that O1 is not a good measure of this, and
indeed, the initializer list variant is much smaller with Os. Never mind!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160907/a3950bbe/attachment.html>


More information about the llvm-bugs mailing list