User Details
- User Since
- Nov 5 2015, 8:52 PM (422 w, 1 d)
May 3 2017
Fix attribute test case.
Apr 20 2017
@Anastasia is this test added OK?
Apr 19 2017
Add attribute test.
I found that there is a newly added patch about attribute that will fail the test, and I am working on it.
https://reviews.llvm.org/D30009
https://reviews.llvm.org/D32176
Apr 10 2017
Add duplicate warning test case.
Mar 27 2017
Fix some varibale up case problems.
Mar 19 2017
Mar 16 2017
Refine some comments.
Mar 14 2017
Fix some minor issues from bader.
Mar 9 2017
Jul 11 2016
Sorry for the late reply, I was busy with some backend problem.
LGTM, thanks for the fix!
Jun 11 2016
I was on a vecation. LGTM, thanks!
May 29 2016
Make all tests in OpenCL 2.0.
Yes, I found although the khronos have make a clarify with implicit declarations but they sames to be useful with some program link. And I found some test case about link could not pass by this reason.
But how should we handle the new added spec?
LGTM!
Thanks!
May 26 2016
May 19 2016
Sorry about late reply.
LGTM!
LGTM!
I think we may add optimization on this base later.
May 15 2016
May 12 2016
LGTM
May 10 2016
You can update the SUMMARY of this diff as we are now using generic codegen output.
And there are some inline comments about spec.
May 8 2016
The pointer type seems to be not that important, we can just cast it to any type we want.
LGTM, thanks!
May 4 2016
If we want to save some space, could we use some macro to expand the gentype or some script to expand the gentype into each types when the clang is build?
Could we output a generic function in CodeGen?
This seems to have no big difference to have a lot of declaration in an opencl c header file.
Apr 26 2016
Add test and fix some old test.
I will add a test and send a new version.
Apr 25 2016
LGTM.
Apr 13 2016
Apr 11 2016
I think merge them into one file is a good idea.
And the layout by sepc order is OK, is will makes the review easy.
Apr 5 2016
LGTM!
Thanks!
Apr 4 2016
Mar 27 2016
Hi Anastasia,
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15603
Now we got clarify from khronos. I will continue on this patch.
BTW, https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15599 is also fixed in the same revision.
Thanks
Xiuli
Mar 24 2016
Add test for correct case.
Mar 21 2016
Add test for spir64.
Mar 20 2016
Refine other check using the changed diag.
Change test as well.
Mar 15 2016
Mar 9 2016
The logic is still to complex and I hope it can be optimized.
Mar 8 2016
Mar 7 2016
LGTM!
It fixed the problem that our project could not built with llvm 3.9.
Hope this fix can merge in soon.
Thanks.
Mar 3 2016
Feb 25 2016
I think this is just a small change to help identify the which standard llvm-ir is using.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15603
Bug reported.
Feb 24 2016
foo((event_t)0);
Is above use have been hint by some test cases?
- Make new indent and leave space for the incoming OpenCL C++.
- Check for the index to see if they are integers.
Remove test case for access quilifier in test/SemaOpenCL/invalid-kernel-attrs.cl.
Due to the patch http://reviews.llvm.org/D17437.
read_only can only be used in parameters with pipe and image type.
Feb 23 2016
It now gives a warning for both C99 and OpenCL.
But for target SPIR it gives an err only because it treat unprototyped function as varidic function:
/// \brief Checks whether the given calling convention supports variadic /// calls. Unprototyped calls also use the variadic call rules. inline bool sthiupportsVariadicCall(CallingConv CC) {...}
and in OpenCL s6.9.e it says
Feb 22 2016
Add array check for types.
It seems this patch is useless.
The spec does not tell about implicit declaration of function, but now clang with -triple spir will output err if there is implicit declaration of function.
I have read about spir and opencl spec but could not find anything talk about that.
If this is a clang bug then this patch is useless.
Then there will be no problem.
I will change my patches as well.
LGTM!
Thanks.
Refine comments and diag.
Feb 21 2016
Block is an OpenCL v2.0 feature, I think all test should be handled only for CL2.0 or newer version.
It seems this patch will check block for CL1.2 or eailer? But the spec reference is for OpenCL v2.0.
Feb 20 2016
LGTM!
Thanks
Feb 19 2016
Feb 18 2016
Refine the pipe parse to solve the problem the attribute for pipe will be handled twice within Declarator
It seems it is related with the pipe type. I am still working on how to fix this problem.
Feb 17 2016
Hi Anastasia,
It seems the access qualifier attribute may need to be handled like the you have mentioned in clang-commit that to be in type.
What is you opinion? I can write a patch for that too.
LGTM!
Thanks
Sorry for the late reply, I was on a break.
LGTM!
Feb 15 2016
Need to refine access qualifier with pipe type.
Update doc for OpenCL access qualifier, still find where to handle access qualifier for pipe type.
Feb 10 2016
Feb 5 2016
Rebase for partition