Teach DSE that strcpy, strncpy, strcat and strncat are all stores which may be
authorNick Lewycky <nicholas@mxc.ca>
Mon, 24 Sep 2012 22:09:10 +0000 (22:09 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 24 Sep 2012 22:09:10 +0000 (22:09 +0000)
commit9f4729d3317f8f04b2e7a1e7ac36418722dc492e
treeeb6c85d8a27f6b2def63960f4ac08c69035157d7
parent135ac9ac893cd3e9a71e5e69b9b1e021348bd449
Teach DSE that strcpy, strncpy, strcat and strncat are all stores which may be
dead.

llvm-svn: 164561
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
llvm/test/Transforms/DeadStoreElimination/libcalls.ll [new file with mode: 0644]