[PATCH] D114035: [DSE] Improve handling of `strncpy` in Dead Store Elimination
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 18 05:59:32 PST 2021
xbolva00 added a comment.
In D114035#3139813 <https://reviews.llvm.org/D114035#3139813>, @fhahn wrote:
> Is there a way to add the right attributes to `strncpy` to avoid needing to special case it in DSE?
It would be great to somehow connect write_only/read_only with size arg but I dont think this is possible now. GCC’s access attribute is more poweful and it can be used in this way.
Maybe good idea for GSoC?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114035/new/
https://reviews.llvm.org/D114035
More information about the llvm-commits
mailing list