[PATCH] D28030: [TLI] Add prototype checking for all remaining LibFuncs.

Ahmed Bougacha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 14:03:41 PST 2016


ab created this revision.
ab added reviewers: mehdi_amini, davide, efriedma.
ab added a subscriber: llvm-commits.
Herald added a subscriber: mgorny.

This is another step towards unifying all LibFunc prototype checks (also see r267758): add the remaining checks to have some basic coverage for all LibFuncs.

This should be mostly straightforward, but I'm not sure the unittest is (can be made?) very valuable.
I'm hoping checking obviously broken prototypes would be the first step.  Later, when fixes are inevitably made to tighten the TLI checks, this would be where tests go.

Thoughts?


https://reviews.llvm.org/D28030

Files:
  lib/Analysis/TargetLibraryInfo.cpp
  unittests/Analysis/CMakeLists.txt
  unittests/Analysis/TargetLibraryInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28030.82266.patch
Type: text/x-patch
Size: 10382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161221/27f101d4/attachment.bin>


More information about the llvm-commits mailing list