Make strcpy_chk lower to strcpy if we have a safe size.
authorEric Christopher <echristo@apple.com>
Fri, 29 Jan 2010 01:37:11 +0000 (01:37 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 29 Jan 2010 01:37:11 +0000 (01:37 +0000)
commit407e47c21ea201292adf978e06d6b7c1dc62cda9
treee07bee5b786900e923c9a5a12128341de280a5cd
parent9988ab04961c5bdb8fd622e2ceff4407493cd15e
Make strcpy_chk lower to strcpy if we have a safe size.

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