[PATCH] D67923: [TLI] Support for per-Function TLI that overrides available libfuncs

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 11:37:39 PST 2019


tejohnson added a comment.

Please take a look. This is now updated to reflect the commit of D71193 <https://reviews.llvm.org/D71193>, which translated the options to the new attributes. I also removed some comments that I realized didn't make sense, as we need to keep a baseline availability array on the base TLII since that is set based on the architecture. We simply override this for no-builtin* attributes on the function. I removed the code from clang that was setting up the availability array based on the options, and all tests pass.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67923/new/

https://reviews.llvm.org/D67923





More information about the llvm-commits mailing list