r308741 - Test commit

2017-07-21 Thread Nikolay Haustov via cfe-commits
Author: nhaustov Date: Fri Jul 21 06:58:11 2017 New Revision: 308741 URL: http://llvm.org/viewvc/llvm-project?rev=308741=rev Log: Test commit Modified: cfe/trunk/lib/Driver/ToolChains/AMDGPU.cpp Modified: cfe/trunk/lib/Driver/ToolChains/AMDGPU.cpp URL:

Re: [PATCH] D23071: [OpenCL] Remove extra native_ functions from opencl-c.h

2016-08-02 Thread Nikolay Haustov via cfe-commits
nhaustov accepted this revision. nhaustov added a comment. This revision is now accepted and ready to land. LGTM, thanks. Could you also note in commit message that online HTML docs are not very clear, but pdf of OpenCL specification has it right. Repository: rL LLVM

Re: [PATCH] D22940: [OpenCL] Handle -cl-fp32-correctly-rounded-divide-sqrt

2016-08-01 Thread Nikolay Haustov via cfe-commits
nhaustov accepted this revision. nhaustov added a comment. This revision is now accepted and ready to land. Ok. https://reviews.llvm.org/D22940 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

r274220 - AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.

2016-06-30 Thread Nikolay Haustov via cfe-commits
Author: nhaustov Date: Thu Jun 30 04:06:33 2016 New Revision: 274220 URL: http://llvm.org/viewvc/llvm-project?rev=274220=rev Log: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels. Summary: Summary: Change Clang calling convention SpirKernel to OpenCLKernel. Set calling convention

Re: [PATCH] D21367: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.

2016-06-30 Thread Nikolay Haustov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL274220: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels. (authored by nhaustov). Changed prior to commit: http://reviews.llvm.org/D21367?vs=62198=62343#toc Repository: rL LLVM

Re: [PATCH] D21367: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.

2016-06-29 Thread Nikolay Haustov via cfe-commits
nhaustov updated this revision to Diff 62198. nhaustov added a comment. Update after discussion with Sam and review from Anastasia. http://reviews.llvm.org/D21367 Files: include/clang/Basic/Specifiers.h lib/AST/ItaniumMangle.cpp lib/AST/Type.cpp lib/AST/TypePrinter.cpp

r273997 - [Driver] Add method to redirect output of Compilation.

2016-06-28 Thread Nikolay Haustov via cfe-commits
Author: nhaustov Date: Tue Jun 28 03:00:42 2016 New Revision: 273997 URL: http://llvm.org/viewvc/llvm-project?rev=273997=rev Log: [Driver] Add method to redirect output of Compilation. Summary: Currently output of child process, however in my use case, it needs to be captured and presented to

Re: [PATCH] D21224: [Driver] Add method to redirect output of Compilation.

2016-06-28 Thread Nikolay Haustov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL273997: [Driver] Add method to redirect output of Compilation. (authored by nhaustov). Changed prior to commit: http://reviews.llvm.org/D21224?vs=60333=62066#toc Repository: rL LLVM

Re: [PATCH] D21367: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.

2016-06-27 Thread Nikolay Haustov via cfe-commits
nhaustov added a comment. In http://reviews.llvm.org/D21367#467894, @yaxunl wrote: > I am wondering what's the difference between this calling convention and > spir_kernel. spir_kernel has only effect and was created only for SPIR target. In theory it could perhaps be reused for AMDGPU

Re: [PATCH] D21367: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.

2016-06-27 Thread Nikolay Haustov via cfe-commits
nhaustov added a comment. In http://reviews.llvm.org/D21367#467894, @yaxunl wrote: > I am wondering what's the difference between this calling convention and > spir_kernel. spir_kernel has only effect and was created only for SPIR target. In theory it could perhaps be reused for AMDGPU

Re: [PATCH] D21224: [Driver] Add method to redirect output of Compilation.

2016-06-20 Thread Nikolay Haustov via cfe-commits
nhaustov added a comment. Ping. http://reviews.llvm.org/D21224 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D21367: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.

2016-06-20 Thread Nikolay Haustov via cfe-commits
nhaustov updated this revision to Diff 61247. nhaustov added a comment. Add test for calling OpenCL kernel from kernel. http://reviews.llvm.org/D21367 Files: include/clang/AST/Type.h include/clang/Basic/Specifiers.h lib/AST/ItaniumMangle.cpp lib/AST/Type.cpp lib/AST/TypePrinter.cpp

Re: [PATCH] D21367: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.

2016-06-20 Thread Nikolay Haustov via cfe-commits
nhaustov added a comment. In http://reviews.llvm.org/D21367#461480, @tstellarAMD wrote: > Does this new patch fix the OpenCL regression? Yes, it fixes the problem with calling kernel from kernel. I'll add a test too. http://reviews.llvm.org/D21367

[PATCH] D21367: AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels.

2016-06-15 Thread Nikolay Haustov via cfe-commits
nhaustov created this revision. nhaustov added reviewers: tstellarAMD, rsmith. nhaustov added a subscriber: cfe-commits. Herald added a subscriber: kzhuravl. Extend CC field of FunctionType to 5 bits and ExtInfo to 10 bits to make space for new calling convention. Add new Clang calling convention

Re: [PATCH] D21224: [Driver] Add method to redirect output of Compilation.

2016-06-10 Thread Nikolay Haustov via cfe-commits
nhaustov updated this revision to Diff 60333. nhaustov updated the summary for this revision. nhaustov added a comment. Fix summary. http://reviews.llvm.org/D21224 Files: include/clang/Driver/Compilation.h lib/Driver/Compilation.cpp Index: lib/Driver/Compilation.cpp

[PATCH] D21224: [Driver] Add method to redirect output of Compilation.

2016-06-10 Thread Nikolay Haustov via cfe-commits
nhaustov created this revision. nhaustov added a reviewer: tstellarAMD. nhaustov added a subscriber: cfe-commits. Currently output of child process, however in my use case, it needs to be captured and presented to the user. Add Redirect method to Compilation and use existing infrastructure for

r268740 - Revert "AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels."

2016-05-07 Thread Nikolay Haustov via cfe-commits
Author: nhaustov Date: Fri May 6 10:00:51 2016 New Revision: 268740 URL: http://llvm.org/viewvc/llvm-project?rev=268740=rev Log: Revert "AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels." This reverts commit f7053ec90d0fc56f0837e43c2c759e85b56c21a1. It broke calling OpenCL

r268718 - AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels.

2016-05-06 Thread Nikolay Haustov via cfe-commits
Author: nhaustov Date: Fri May 6 04:15:24 2016 New Revision: 268718 URL: http://llvm.org/viewvc/llvm-project?rev=268718=rev Log: AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels. Reviewers: tstellarAMD, arsenm Subscribers: cfe-commits Differential Revision:

Re: [PATCH] D19918: AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels.

2016-05-06 Thread Nikolay Haustov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL268718: AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels. (authored by nhaustov). Changed prior to commit: http://reviews.llvm.org/D19918?vs=56141=56389#toc Repository: rL LLVM

[PATCH] D19918: AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels.

2016-05-04 Thread Nikolay Haustov via cfe-commits
nhaustov created this revision. nhaustov added reviewers: tstellarAMD, arsenm. nhaustov added a subscriber: cfe-commits. http://reviews.llvm.org/D19918 Files: lib/CodeGen/TargetInfo.cpp test/CodeGenOpenCL/amdgpu-calling-conv.cl test/CodeGenOpenCL/amdgpu-num-gpr-attr.cl Index: