If we don't know how long a string is we can't fold an _chk version to the
authorEric Christopher <echristo@apple.com>
Tue, 15 Mar 2011 00:25:41 +0000 (00:25 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 15 Mar 2011 00:25:41 +0000 (00:25 +0000)
commitb9b80c326847ccb1b0611e9b6dc4d372ecc158d3
tree34f87744fcb4e3c572388c5a22a91787c26be940
parent875c3ffcc992efd21e3a54bae36b1961ff0f8333
If we don't know how long a string is we can't fold an _chk version to the
normal version.

Fixes rdar://9123638

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