[llvm-bugs] [Bug 46974] Add specializations of small std::tuple to reduce pre-optimization code generation
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 2 14:38:58 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=46974
Louis Dionne <ldionne at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ldionne at apple.com
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #1 from Louis Dionne <ldionne at apple.com> ---
std::tuple is a very complex beast, and adding specializations for small tuples
would add a huge amount of code complexity (consider that we'd still have to do
EBO for these specializations). Basically, I don't believe there's enough bang
for the buck.
Instead, I think it's better to teach LLVM to optimize tuples better. If you
have a reproducer that behaves badly, please add it here and we can move to the
proper component. In the meantime, marking as WONTFIX (but please do return the
bug if you have a reproducer and we'll forward to LLVM).
--
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/20210302/fb80b210/attachment.html>
More information about the llvm-bugs
mailing list