[PATCH] D17596: [OpenCL] Add ocl and spir version for spir target

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 08:34:35 PST 2016


yaxunl accepted this revision.
yaxunl added a comment.
This revision is now accepted and ready to land.

Pls revise by Anastasia's comments. Otherwise LGTM.

We have two options about SPIR-V support:

1. drop SPIR support and move on to SPIR-V
2. keep supporting both SPIR and SPIR-V

Option 1 is cleaner and easier to maintain, however it will require changes in backends which expect SPIR format for OCL programs.


http://reviews.llvm.org/D17596





More information about the cfe-commits mailing list