[PATCH] D21698: [OpenCL] Allow disabling types and declarations associated with extensions

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 8 11:25:30 PDT 2016

Anastasia added a comment.

In https://reviews.llvm.org/D21698#537156, @yaxunl wrote:

> I did profiling with valgrind for the cost of checking disabled types and declarations. For a typical program, time spent in checking disabled types and declarations are less than 0.1%, so this cost can be ignored.

Could you please provide the profiled code example here please? As far as I understand this lookup will run for all the declarations and function calls. So we should make sure to profile various programs to see what the impact is with different use cases.


More information about the cfe-commits mailing list