[llvm] 7eec832 - [DSE] Improve handling of `strncpy` in Dead Store Elimination

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 07:06:09 PST 2021



> On Nov 19, 2021, at 18:08, Philip Reames via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> JFYI, it looks like the routine in DSE could be sunk into/merged with the MemoryLocation apis.  Consolidating code would let other consumers benefit as well.
> 

That’s a great point! I’m CC’ing Fabian (the author) directly, because it looks like he wasn't CC’d in the original commit email.

Fabian, are you interested in working on sinking the logic into MemoryLocation? I am currently working on also adding support for {memset,memcpy}_chk variants and as we accumulate more knowledge about library calls making it available more broadly would be great.

Cheers,
Florian



More information about the llvm-commits mailing list