OSDN Git Service

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)
commit3dbefbd9bb9801db3b8fda8e15d03f2659393135
treec3c5192bb9198bd5c09604d8e9a7867d5c4ae70c
parent97a1a6144721c2eec2323ff85a80f77b36b58c96
Teach DSE that strcpy, strncpy, strcat and strncat are all stores which may be
dead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164561 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/DeadStoreElimination.cpp
test/Transforms/DeadStoreElimination/libcalls.ll [new file with mode: 0644]