Re-add strcmp and known size object size checking optimization.
authorEric Christopher <echristo@apple.com>
Tue, 2 Feb 2010 22:10:43 +0000 (22:10 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 2 Feb 2010 22:10:43 +0000 (22:10 +0000)
commita6a089cd244033109a232c99cb09ac424703afff
tree00ebc1b3f91ed2385c814e9d706980b2a4563d34
parent7f89fdae34a11f8b0b3e0ee1de3f2f6d317f38c4
Re-add strcmp and known size object size checking optimization.

Passed bootstrap and nightly test run here.

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