[PATCH] D19469: [TLI] Unify LibFunc signature checking. NFCI.
Ahmed Bougacha via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 24 17:52:42 PDT 2016
ab updated this revision to Diff 54816.
ab added a comment.
> Well either the Caller of `getLibFunc` supplies it or there should be some "doInitialization()` like every pass?
How about this: get the DataLayout from the function's parent, if it has one. Otherwise, default to isIntegerTy()?
http://reviews.llvm.org/D19469
Files:
include/llvm/Analysis/TargetLibraryInfo.h
lib/Analysis/BasicAliasAnalysis.cpp
lib/Analysis/MemoryLocation.cpp
lib/Analysis/TargetLibraryInfo.cpp
lib/Analysis/ValueTracking.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/InferFunctionAttrs.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19469.54816.patch
Type: text/x-patch
Size: 92505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160425/256b9bbb/attachment-0001.bin>
More information about the llvm-commits
mailing list