[PATCH] Refactor fortified (__*_chk) library function handling in TLI/LibCallSimplifier.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Fri Oct 24 11:50:53 PDT 2014
[2/4] [SimplifyLibCalls] Provide a way to only lower fortified calls.
There are currently two versions of the fortified libcall lowering:
this one, and a duplicate in CGP. The former is more general, with the
latter only lowering fortified libcalls to their non-fortified
instrinsic counterparts.
This patch enables both to be merged, by providing a way to
LibCallSimplifier clients to only enable fortified call lowering.
http://reviews.llvm.org/D5982
Files:
include/llvm/Target/TargetLibraryInfo.h
include/llvm/Transforms/Utils/SimplifyLibCalls.h
lib/Target/TargetLibraryInfo.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5982.15426.patch
Type: text/x-patch
Size: 8051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141024/d9f9e50e/attachment.bin>
More information about the llvm-commits
mailing list