RE: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-08-02 Thread Liu, Yaxun (Sam) via cfe-commits
omas ; cfe-commits@lists.llvm.org; 'nd' Subject: RE: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes Hi, What I mean is the spec of spir 1.2/2.0 has very clear example about how the metadata should organized. But now with this patch, the result of spir

RE: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-08-01 Thread Pan Xiuli via cfe-commits
Yaxun (Sam) (yaxun@amd.com) Cc: thomas.stell...@amd.com; cfe-commits@lists.llvm.org; nd Subject: RE: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes Hi Xiuli, Could you please elaborate what do you think it broken exactly? Because we haven't actually removed

RE: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-08-01 Thread Anastasia Stulova via cfe-commits
ssage- From: Yaxun Liu [mailto:yaxun@amd.com] Sent: Wednesday, June 22, 2016 11:04 PM To: yaxun@amd.com; xiuli...@outlook.com; anastasia.stul...@arm.com; alexey.ba...@intel.com Cc: thomas.stell...@amd.com; cfe-commits@lists.llvm.org Subject: Re: [PATCH] D20979: [OpenCL] Use function met

RE: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-07-31 Thread Pan Xiuli via cfe-commits
@amd.com] Sent: Wednesday, June 22, 2016 11:04 PM To: yaxun@amd.com; xiuli...@outlook.com; anastasia.stul...@arm.com; alexey.ba...@intel.com Cc: thomas.stell...@amd.com; cfe-commits@lists.llvm.org Subject: Re: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes This

Re: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-06-22 Thread Yaxun Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL273425: [OpenCL] Use function metadata to represent kernel attributes (authored by yaxunl). Changed prior to commit: http://reviews.llvm.org/D20979?vs=60545&id=61555#toc Repository: rL LLVM http://r

Re: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-06-20 Thread Yaxun Liu via cfe-commits
yaxunl added inline comments. Comment at: test/CodeGenOpenCL/kernel-attributes.cl:9 @@ -8,3 +10,1 @@ -// CHECK: opencl.kernels = !{[[MDNODE0:![0-9]+]], [[MDNODE3:![0-9]+]]} - bader wrote: > AFAIK, this named metadata node were also useful for kernel functions >

Re: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-06-20 Thread Alexey Bader via cfe-commits
bader accepted this revision. bader added a comment. LGTM. Comment at: test/CodeGenOpenCL/kernel-attributes.cl:9 @@ -8,3 +10,1 @@ -// CHECK: opencl.kernels = !{[[MDNODE0:![0-9]+]], [[MDNODE3:![0-9]+]]} - AFAIK, this named metadata node were also useful for ker

Re: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-06-20 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. Ping! Alexey/Xiuli, are you OK with this change? Thanks. http://reviews.llvm.org/D20979 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-06-13 Thread Anastasia Stulova via cfe-commits
Anastasia accepted this revision. Anastasia added a comment. This revision is now accepted and ready to land. LGTM! http://reviews.llvm.org/D20979 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo

Re: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-06-13 Thread Yaxun Liu via cfe-commits
yaxunl added a comment. I updated the patch to use function metadata only. Please review. Thanks. http://reviews.llvm.org/D20979 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20979: [OpenCL] Use function metadata to represent kernel attributes

2016-06-13 Thread Yaxun Liu via cfe-commits
yaxunl retitled this revision from "[OpenCL] Use function attribute/metadata to represent kernel attributes" to "[OpenCL] Use function metadata to represent kernel attributes". yaxunl updated the summary for this revision. yaxunl updated this revision to Diff 60545. http://reviews.llvm.org/D2097