[SimplifyLibCalls] Factor out signature checks for fortifiable libcalls.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 12 Jan 2015 17:18:19 +0000 (17:18 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 12 Jan 2015 17:18:19 +0000 (17:18 +0000)
commitb7d8afb6c5f502cbe341839e48884222a2ffa695
tree460f9b69a5a4da0ddb7833e3f2f1e216347bdf79
parent3f2e76182616591c0bf813e15ad7940d4e3bca7b
[SimplifyLibCalls] Factor out signature checks for fortifiable libcalls.

The checks are the same for fortified counterparts to the libcalls, so
we might as well do them in a single place.

Differential Revision: http://reviews.llvm.org/D6539

llvm-svn: 225638
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp