This patch extends dead store elimination to treat strcpy/strncpy/strcat/strncat as stores that can be removed. There are some more functions we could do this for, such as sprintf/snprintf/vsprintf/vsnprintf, but TargetLibraryInfo doesn't have entries for those yet.<div>

<br></div><div>The test uses -basicaa to get the target library info, but I don't specify a triple because at the moment there are no targets which disable strcpy and friends. Ideas for future-proofing this would be appreciated.</div>

<div><br></div><div>Please review!</div><div><br></div><div>Nick</div><div><br></div>