[PATCH] D19469: [TLI] Unify LibFunc signature checking. NFCI.

Ahmed Bougacha via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 24 12:45:05 PDT 2016


ab created this revision.
ab added reviewers: joker.eph, spatel, echristo.
ab added a subscriber: llvm-commits.
Herald added subscribers: kubabrecka, joker.eph.

I tried to be as close as possible to the strongest check that existed before; cleaning these up properly is left for future work.

The PointerSize is a little awkward; alternatives welcome. I thought about making TLI require DataLayout as well, but you'd have the same problem of picking a default.

Also, I'm playing with a new tablegen backend for these; what do people think?

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.54807.patch
Type: text/x-patch
Size: 93833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160424/c3d2196d/attachment.bin>


More information about the llvm-commits mailing list