[llvm-dev] Missed memcpy & strlen/cat optimizations in LLVM

Dávid Bolvanský via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 12 15:52:17 PDT 2018


Hi,

I found some cases which can be improved in LLVM optimizer:
https://godbolt.org/g/g5y9Qf

To summarize, folding memcpy calls could be interesting optimization to
explore, but maybe not so trivially to implement.

Memcpy + strlen case should be easy to implement, I think I would look on
it.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180413/0d5d34cf/attachment.html>


More information about the llvm-dev mailing list