HomePhabricator

[OpenCL] Use function metadata to represent kernel attributes

Authored by yaxunl on Jun 22 2016, 7:56 AM.

Description

[OpenCL] Use function metadata to represent kernel attributes

This patch uses function metadata to represent reqd_work_group_size, work_group_size_hint and vector_type_hint kernel attributes and kernel argument info.

Differential Revision: http://reviews.llvm.org/D20979

llvm-svn: 273425

Details