[clang] [HIP] fix HIP detection for /usr (PR #80190)

2024-01-31 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu updated https://github.com/llvm/llvm-project/pull/80190 >From f3ce754c63a2bd49f5faded6596b17d0aa3f44e1 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Wed, 31 Jan 2024 15:14:10 -0500 Subject: [PATCH] [HIP] fix HIP detection for /usr Skip checking HIP version

[clang] [HIP] fix HIP detection for /usr (PR #80190)

2024-01-31 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > Do we have any tests for this kind of stuff? We really should have some mock > ROCm installation in one of the `Inputs/` directories and then do > `--rocm-path=` or something. test added https://github.com/llvm/llvm-project/pull/80190

[clang] [HIP] fix HIP detection for /usr (PR #80190)

2024-02-01 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/80190 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AMDGPU] Diagnose unaligned atomic (PR #80322)

2024-02-01 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu created https://github.com/llvm/llvm-project/pull/80322 AMDGPU does not support unaligned atomics, therefore make the warning an error. This patch is transferred from https://reviews.llvm.org/D99201 >From a5d78d7439d58eefc45a6ea694f1e4d941de9d10 Mon Sep 17 00:00:00

[clang] [AMDGPU] Diagnose unaligned atomic (PR #80322)

2024-02-01 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu updated https://github.com/llvm/llvm-project/pull/80322 >From 91c9113a986c90179d36ca33c6d4559cb946f746 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Thu, 1 Feb 2024 13:44:03 -0500 Subject: [PATCH] [AMDGPU] Diagnose unaligned atomic for amdgpu AMDGPU does no

[clang] [AMDGPU] Diagnose unaligned atomic (PR #80322)

2024-02-01 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > You may want to check that we can still disable the error with > `-Wno-error=atomic-alignment` passed via top-level options. > > Other than that LGTM. Good point. Added a test https://github.com/llvm/llvm-project/pull/80322 ___ cfe

[clang] [AMDGPU] Diagnose unaligned atomic (PR #80322)

2024-02-01 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu updated https://github.com/llvm/llvm-project/pull/80322 >From 8cc0ecfe6723b7eb363a5eef2cd4b8630e6a2ac8 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Thu, 1 Feb 2024 13:44:03 -0500 Subject: [PATCH] [AMDGPU] Diagnose unaligned atomic for amdgpu AMDGPU does no

[clang] [AMDGPU] Diagnose unaligned atomic (PR #80322)

2024-02-02 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu updated https://github.com/llvm/llvm-project/pull/80322 >From c2b559f5853a50a54958f2d5f2410a94ca0f722e Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Thu, 1 Feb 2024 13:44:03 -0500 Subject: [PATCH] [AMDGPU] Diagnose unaligned atomic for amdgpu AMDGPU does no

[clang] [AMDGPU] Diagnose unaligned atomic (PR #80322)

2024-02-02 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/80322 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][AMDGPU][CUDA] Handle __builtin_printf for device printf (PR #68515)

2024-02-04 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu approved this pull request. LGTM. Thanks https://github.com/llvm/llvm-project/pull/68515 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][AMDGPU][CUDA] Handle __builtin_printf for device printf (PR #68515)

2024-02-04 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > It looks reasonable to me, although I'm not really an AMDGPU person. /me > summons @arsenm ? AMDGPU backend relies on LLVM passes to translate printf at IR level. __builtin_printf and printf should be equivalent other than the name. https://github.com/llvm/llvm-project/pull/

[clang] [AMDGPU] Do not emit arch dependent macros with unspecified cpu (PR #79660)

2024-01-26 Thread Yaxun Liu via cfe-commits
@@ -274,30 +274,31 @@ void AMDGPUTargetInfo::getTargetDefines(const LangOptions &Opts, else Builder.defineMacro("__R600__"); - if (GPUKind != llvm::AMDGPU::GK_NONE) { -StringRef CanonName = isAMDGCN(getTriple()) ? - getArchNameAMDGCN(GPUKind) : getArchNameR600

[clang] [AMDGPU] Do not emit arch dependent macros with unspecified cpu (PR #79660)

2024-01-26 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: LGTM. AFAIK only device libs compile OpenCL code without -mcpu. I don't think it uses any of these predefined macros. https://github.com/llvm/llvm-project/pull/79660 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists

[clang] [AMDGPU] Do not emit arch dependent macros with unspecified cpu (PR #79660)

2024-01-29 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > This seems to have perturbed the HIP build. > https://lab.llvm.org/staging/#/builders/22/builds/22 > > The problem is that we used to set `__AMDGCN_WAVEFRONTSIZE` for the host > compilation as well in a bunch of the wave function macros. I think that this > is just poor prog

[clang] [AMDGPU] Do not emit arch dependent macros with unspecified cpu (PR #79660)

2024-01-29 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > Reverted. I don't think there's a "proper" solution here since this seems to > have leaked into the headers due to whoever set this up initially not > properly setting these on the host. That seems to be endemic now, so the best > we can do it just set it to some dummy values

[clang] [AMDGPU] Do not emit arch dependent macros with unspecified cpu (PR #79660)

2024-01-29 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: HIP host compilation can be identified by LangOpts.HIP && !LangOpts.CUDAIsDevice https://github.com/llvm/llvm-project/pull/79660 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe

[clang] [AMDGPU] add function attrbute amdgpu-lib-fun (PR #74737)

2024-01-12 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > > An AMDGPU library function is not internalized and can be used to fullfill > > calls generated by LLVM passes or instruction selection. > > I am confused by the description of "internalized". Do you refer to LTO > internalization? You can leverage `llvm.used` to disable LTO

[clang] [AMDGPU] add function attrbute amdgpu-lib-fun (PR #74737)

2024-01-12 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > > > > An AMDGPU library function is not internalized and can be used to > > > > fullfill calls generated by LLVM passes or instruction selection. > > > > > > > > > I am confused by the description of "internalized". Do you refer to LTO > > > internalization? You can leverage

[clang] [AMDGPU] add function attrbute amdgpu-lib-fun (PR #74737)

2024-01-12 Thread Yaxun Liu via cfe-commits
@@ -2011,6 +2011,13 @@ def AMDGPUNumVGPR : InheritableAttr { let Subjects = SubjectList<[Function], ErrorDiag, "kernel functions">; } +def AMDGPULibFun : InheritableAttr { yxsamliu wrote: will do https://github.com/llvm/llvm-project/pull/74737

[clang] [AMDGPU] add function attrbute amdgpu-lib-fun (PR #74737)

2024-01-12 Thread Yaxun Liu via cfe-commits
@@ -2693,6 +2693,17 @@ An error will be given if: }]; } +def AMDGPULibFunDocs : Documentation { + let Category = DocCatAMDGPUAttributes; + let Content = [{ +The ``amdgpu_lib_fun`` attribute can be applied to a function for AMDGPU target +to indicate it is a library functio

[clang] [AMDGPU] add function attrbute amdgpu-lib-fun (PR #74737)

2024-01-12 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu updated https://github.com/llvm/llvm-project/pull/74737 >From 4264e7e9c7f655f134623d113ba9dccc5564f4c3 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Thu, 7 Dec 2023 11:45:14 -0500 Subject: [PATCH] [AMDGPU] add function attrbute amdgpu-lib-fun Add a function

[clang] [CUDA][HIP] warn incompatible redeclare (PR #77359)

2024-01-16 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: ping https://github.com/llvm/llvm-project/pull/77359 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NVPTX][AMDGPU][CodeGen] Fix `local_space nullptr` handling for NVPTX and local/private `nullptr` value for AMDGPU. (PR #78759)

2024-01-22 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: LGTM for amdgpu https://github.com/llvm/llvm-project/pull/78759 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HIP][Driver] Automatically include `hipstdpar` forwarding header (PR #78915)

2024-01-22 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu approved this pull request. https://github.com/llvm/llvm-project/pull/78915 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Driver] Fix `--save-temps` for OpenCL AoT compilation (PR #78333)

2024-01-22 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu approved this pull request. https://github.com/llvm/llvm-project/pull/78333 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenCL] Allow -fno-offload-uniform-block for 1.2 (PR #79026)

2024-01-22 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu created https://github.com/llvm/llvm-project/pull/79026 OpenCL 1.2 kernel assumes uniform workgroup size. By default a function attr is added to allow backend to do optimizations. These optimizations may cause UB if such kernels are launched with non-uniform workgro

[clang] [HIP] Document func ptr and virtual func (PR #68126)

2023-10-18 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/68126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Let clang-cl support CUDA/HIP (PR #68921)

2023-10-19 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: ping. we tested it on Windows and it is able to compile both C++ and HIP without issues. https://github.com/llvm/llvm-project/pull/68921 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[clang] Let clang-cl support CUDA/HIP (PR #68921)

2023-10-19 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/68921 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] fdfe0b0 - Fix test clang/test/Driver/cl-offload.cu

2023-10-19 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-10-19T12:56:06-04:00 New Revision: fdfe0b095f629a59a361813231fb5a6de4ef7ef9 URL: https://github.com/llvm/llvm-project/commit/fdfe0b095f629a59a361813231fb5a6de4ef7ef9 DIFF: https://github.com/llvm/llvm-project/commit/fdfe0b095f629a59a361813231fb5a6de4ef7ef9.dif

[clang] Let clang-cl support CUDA/HIP (PR #68921)

2023-10-19 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: [AMD Official Use Only - General] Will fix it now. Thanks. Sam From: Nico Weber ***@***.***> Sent: Thursday, October 19, 2023 8:03 PM To: llvm/llvm-project ***@***.***> Cc: Liu, Yaxun (Sam) ***@***.***>; State change ***@***.***> Subject: Re: [llvm/llvm-project] Let clang-cl su

[clang] 9d10fbb - Fix test clang/test/Driver/cl-offload.cu

2023-10-19 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-10-19T21:48:05-04:00 New Revision: 9d10fbbb299eae4a63f1028274e2ffe92bf8e75a URL: https://github.com/llvm/llvm-project/commit/9d10fbbb299eae4a63f1028274e2ffe92bf8e75a DIFF: https://github.com/llvm/llvm-project/commit/9d10fbbb299eae4a63f1028274e2ffe92bf8e75a.dif

[clang] Let clang-cl support CUDA/HIP (PR #68921)

2023-10-19 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: [AMD Official Use Only - General] Fixed by 9d10fbbb299eae4a63f1028274e2ffe92bf8e75a From: Nico Weber ***@***.***> Sent: Thursday, October 19, 2023 8:03 PM To: llvm/llvm-project ***@***.***> Cc: Liu, Yaxun (Sam) ***@***.***>; State change ***@***.***> Subject: Re: [llvm/llvm-proj

[clang] Let clang-cl support CUDA/HIP (PR #68921)

2023-10-23 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: [AMD Official Use Only - General] Sorry I missed this failure. Will fix it now. Sam From: Rainer Orth ***@***.***> Sent: Monday, October 23, 2023 5:45 PM To: llvm/llvm-project ***@***.***> Cc: Liu, Yaxun (Sam) ***@***.***>; State change ***@***.***> Subject: Re: [llvm/llvm-pro

[clang] 278d557 - Fix test clang/test/Driver/cl-offload.cu

2023-10-23 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2023-10-23T18:21:36-04:00 New Revision: 278d5575643f27427175e647dab98de816953943 URL: https://github.com/llvm/llvm-project/commit/278d5575643f27427175e647dab98de816953943 DIFF: https://github.com/llvm/llvm-project/commit/278d5575643f27427175e647dab98de816953943.dif

[clang] Let clang-cl support CUDA/HIP (PR #68921)

2023-10-24 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > @yxsamliu I've just raised #70055 which fixes an issue with the new test > here. Perhaps it might also allow you to remove the exclusion for > `system-darwin`? Yes it should allow it to remove exclusion of system-darwin. Thanks https://github.com/llvm/llvm-project/pull/68921

[clang] [Driver] Add `--` to some test clang-cl command lines. (PR #70055)

2023-10-24 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: can you remove // REQUIRES: !system-darwin ? Thanks. https://github.com/llvm/llvm-project/pull/70055 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Add `--` to some test clang-cl command lines. (PR #70055)

2023-10-24 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu approved this pull request. LGTM. Thanks. https://github.com/llvm/llvm-project/pull/70055 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Offloading][NFC] Move creation of offloading entries from OpenMP (PR #70116)

2023-10-25 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: Maybe a clang documentation can be added for this generic offloading toolchain for OpenMP/CUDA/HIP. Could be a brief description about the offloading entries and registration mechanism in the beginning then buffy it up later. https://github.com/llvm/llvm-project/pull/70116

[clang] [Offloading][NFC] Move creation of offloading entries from OpenMP (PR #70116)

2023-10-25 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu approved this pull request. LGTM. Thanks. https://github.com/llvm/llvm-project/pull/70116 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA][HIP] Fix std::is_invocable (PR #70369)

2023-10-26 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu created https://github.com/llvm/llvm-project/pull/70369 Currently std::is_invocable does not work for CUDA/HIP since its implementation requires checking whether a function is invocable in the context of a synthesized host function. In general, to make work with C

[clang] [CUDA][HIP] Fix std::is_invocable (PR #70369)

2023-10-26 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu edited https://github.com/llvm/llvm-project/pull/70369 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA][HIP] Fix std::is_invocable (PR #70369)

2023-10-26 Thread Yaxun Liu via cfe-commits
@@ -283,12 +283,18 @@ set(cuda_wrapper_files cuda_wrappers/cmath cuda_wrappers/complex cuda_wrappers/new + cuda_wrappers/type_traits ) set(cuda_wrapper_bits_files cuda_wrappers/bits/shared_ptr_base.h cuda_wrappers/bits/basic_string.h cuda_wrappers/bits/basic

[clang] [CUDA][HIP] Fix std::is_invocable (PR #70369)

2023-10-26 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu updated https://github.com/llvm/llvm-project/pull/70369 >From 8199b47f5b84c6bdac9ab373a4e138ad9246d033 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Thu, 26 Oct 2023 15:09:49 -0400 Subject: [PATCH 1/2] [CUDA][HIP] Fix std::is_invocable Currently std::is_inv

[clang] [CUDA][HIP] Fix std::is_invocable (PR #70369)

2023-10-26 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu edited https://github.com/llvm/llvm-project/pull/70369 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA][HIP] Fix std::is_invocable (PR #70369)

2023-10-26 Thread Yaxun Liu via cfe-commits
@@ -283,12 +283,18 @@ set(cuda_wrapper_files cuda_wrappers/cmath cuda_wrappers/complex cuda_wrappers/new + cuda_wrappers/type_traits ) set(cuda_wrapper_bits_files cuda_wrappers/bits/shared_ptr_base.h cuda_wrappers/bits/basic_string.h cuda_wrappers/bits/basic

r369641 - [OpenCL] Fix declaration of enqueue_marker

2019-08-22 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Aug 22 04:18:59 2019 New Revision: 369641 URL: http://llvm.org/viewvc/llvm-project?rev=369641&view=rev Log: [OpenCL] Fix declaration of enqueue_marker Differential Revision: https://reviews.llvm.org/D66512 Modified: cfe/trunk/lib/Headers/opencl-c.h Modified: cfe/tru

r370808 - [AMDGPU] Set default flat work group size to (1, 256) for HIP

2019-09-03 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Sep 3 11:50:24 2019 New Revision: 370808 URL: http://llvm.org/viewvc/llvm-project?rev=370808&view=rev Log: [AMDGPU] Set default flat work group size to (1,256) for HIP Differential Revision: https://reviews.llvm.org/D67048 Modified: cfe/trunk/lib/CodeGen/TargetInfo.

r310082 - Add OpenCL 2.0 atomic builtin functions as Clang builtin

2017-08-04 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Fri Aug 4 11:16:31 2017 New Revision: 310082 URL: http://llvm.org/viewvc/llvm-project?rev=310082&view=rev Log: Add OpenCL 2.0 atomic builtin functions as Clang builtin OpenCL 2.0 atomic builtin functions have a scope argument which is ideally represented as synchronization s

r310160 - [OpenCL] Remove extra select functions from opencl-c.h

2017-08-04 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Fri Aug 4 19:23:47 2017 New Revision: 310160 URL: http://llvm.org/viewvc/llvm-project?rev=310160&view=rev Log: [OpenCL] Remove extra select functions from opencl-c.h OpenCL spec v2.0 s6.13.6: gentype select (gentype a, gentype b, igentype c) gentype select (gentype a, gent

r310924 - [OpenCL] Support variable memory scope in atomic builtins

2017-08-15 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Aug 15 09:02:49 2017 New Revision: 310924 URL: http://llvm.org/viewvc/llvm-project?rev=310924&view=rev Log: [OpenCL] Support variable memory scope in atomic builtins Differential Revision: https://reviews.llvm.org/D36580 Modified: cfe/trunk/include/clang/AST/Expr.h

r310927 - Remove -finclude-default-header in OpenCL atomic tests

2017-08-15 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Aug 15 09:30:31 2017 New Revision: 310927 URL: http://llvm.org/viewvc/llvm-project?rev=310927&view=rev Log: Remove -finclude-default-header in OpenCL atomic tests Differential Revision: https://reviews.llvm.org/D36676 Modified: cfe/trunk/test/CodeGenOpenCL/atomic-ops

r310932 - Attempt to fix failure in CodeGenOpenCL/atomic-ops.cl

2017-08-15 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Aug 15 10:16:44 2017 New Revision: 310932 URL: http://llvm.org/viewvc/llvm-project?rev=310932&view=rev Log: Attempt to fix failure in CodeGenOpenCL/atomic-ops.cl Modified: cfe/trunk/test/CodeGenOpenCL/atomic-ops.cl Modified: cfe/trunk/test/CodeGenOpenCL/atomic-ops.cl

r310937 - Attempt to fix failure in CodeGenOpenCL/atomic-ops.cl again

2017-08-15 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Aug 15 10:59:26 2017 New Revision: 310937 URL: http://llvm.org/viewvc/llvm-project?rev=310937&view=rev Log: Attempt to fix failure in CodeGenOpenCL/atomic-ops.cl again Modified: cfe/trunk/test/CodeGenOpenCL/atomic-ops.cl Modified: cfe/trunk/test/CodeGenOpenCL/atomic-

r310986 - Fix comments about __OPENCL_MEMORY_SCOPE_* macros

2017-08-15 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Tue Aug 15 21:15:28 2017 New Revision: 310986 URL: http://llvm.org/viewvc/llvm-project?rev=310986&view=rev Log: Fix comments about __OPENCL_MEMORY_SCOPE_* macros Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp U

[clang] 134ef0f - [OpenCL] Fix inconsistency between opencl and c11 atomic fetch max/min

2019-12-27 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2019-12-27T11:29:04-05:00 New Revision: 134ef0fb4b92718477a1dc9da0118f9b2dd77237 URL: https://github.com/llvm/llvm-project/commit/134ef0fb4b92718477a1dc9da0118f9b2dd77237 DIFF: https://github.com/llvm/llvm-project/commit/134ef0fb4b92718477a1dc9da0118f9b2dd77237.dif

[clang] 9f2d8b5 - [HIP] Add option --gpu-max-threads-per-block=n

2020-01-07 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-01-07T11:18:00-05:00 New Revision: 9f2d8b5c0cdb31c5617476575c03826274ecbd25 URL: https://github.com/llvm/llvm-project/commit/9f2d8b5c0cdb31c5617476575c03826274ecbd25 DIFF: https://github.com/llvm/llvm-project/commit/9f2d8b5c0cdb31c5617476575c03826274ecbd25.dif

[clang] ccb4124 - Fix -gz=zlib options for linker

2020-09-11 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-11T17:12:58-04:00 New Revision: ccb4124a4172bf2cb2e1cd7c253f0f1654fce294 URL: https://github.com/llvm/llvm-project/commit/ccb4124a4172bf2cb2e1cd7c253f0f1654fce294 DIFF: https://github.com/llvm/llvm-project/commit/ccb4124a4172bf2cb2e1cd7c253f0f1654fce294.dif

[clang] ee13ae0 - Fix test hip-gz-options.hip

2020-09-11 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-11T17:57:36-04:00 New Revision: ee13ae030e21d584c72d384ea463896400ccee1c URL: https://github.com/llvm/llvm-project/commit/ee13ae030e21d584c72d384ea463896400ccee1c DIFF: https://github.com/llvm/llvm-project/commit/ee13ae030e21d584c72d384ea463896400ccee1c.dif

[clang] ee5519d - [NFC] Refactor DiagnosticBuilder and PartialDiagnostic

2020-09-16 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-16T17:35:28-04:00 New Revision: ee5519d323571c4a9a7d92cb817023c9b95334cd URL: https://github.com/llvm/llvm-project/commit/ee5519d323571c4a9a7d92cb817023c9b95334cd DIFF: https://github.com/llvm/llvm-project/commit/ee5519d323571c4a9a7d92cb817023c9b95334cd.dif

[clang] 40df06c - [CUDA][HIP] Defer overloading resolution diagnostics for host device functions

2020-09-17 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-17T11:30:42-04:00 New Revision: 40df06cdafc010002fc9cfe1dda73d689b7d27a6 URL: https://github.com/llvm/llvm-project/commit/40df06cdafc010002fc9cfe1dda73d689b7d27a6 DIFF: https://github.com/llvm/llvm-project/commit/40df06cdafc010002fc9cfe1dda73d689b7d27a6.dif

[clang-tools-extra] 7f1f89e - Fix build failure in clangd

2020-09-17 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-17T11:51:09-04:00 New Revision: 7f1f89ec8d9944559042bb6d3b1132eabe3409de URL: https://github.com/llvm/llvm-project/commit/7f1f89ec8d9944559042bb6d3b1132eabe3409de DIFF: https://github.com/llvm/llvm-project/commit/7f1f89ec8d9944559042bb6d3b1132eabe3409de.dif

[clang-tools-extra] 772bd8a - Revert "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions"

2020-09-17 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-17T13:55:31-04:00 New Revision: 772bd8a7d99b8db899f594d393986e4b6cd85aa1 URL: https://github.com/llvm/llvm-project/commit/772bd8a7d99b8db899f594d393986e4b6cd85aa1 DIFF: https://github.com/llvm/llvm-project/commit/772bd8a7d99b8db899f594d393986e4b6cd85aa1.dif

[clang] 829d14e - Revert "[NFC] Refactor DiagnosticBuilder and PartialDiagnostic"

2020-09-17 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-17T13:56:09-04:00 New Revision: 829d14ee0a6aa79c89f7f3d9fcd9d27d3efd2b91 URL: https://github.com/llvm/llvm-project/commit/829d14ee0a6aa79c89f7f3d9fcd9d27d3efd2b91 DIFF: https://github.com/llvm/llvm-project/commit/829d14ee0a6aa79c89f7f3d9fcd9d27d3efd2b91.dif

[clang] e50465e - [HIP] Fix -gsplit-dwarf option

2020-09-19 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-19T10:06:51-04:00 New Revision: e50465ecefc964e5700df26fc7e02a673eed085a URL: https://github.com/llvm/llvm-project/commit/e50465ecefc964e5700df26fc7e02a673eed085a DIFF: https://github.com/llvm/llvm-project/commit/e50465ecefc964e5700df26fc7e02a673eed085a.dif

[clang] 2819cea - Revert "[HIP] Fix -gsplit-dwarf option"

2020-09-19 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-19T10:15:27-04:00 New Revision: 2819cea2ef8aab9d7ef8ba29feec9cb58cc942f6 URL: https://github.com/llvm/llvm-project/commit/2819cea2ef8aab9d7ef8ba29feec9cb58cc942f6 DIFF: https://github.com/llvm/llvm-project/commit/2819cea2ef8aab9d7ef8ba29feec9cb58cc942f6.dif

[clang] 301e233 - [CUDA][HIP] Fix static device var used by host code only

2020-09-23 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-23T08:18:19-04:00 New Revision: 301e23305d03cfb4004f845a1d9dfdc5e5931fd8 URL: https://github.com/llvm/llvm-project/commit/301e23305d03cfb4004f845a1d9dfdc5e5931fd8 DIFF: https://github.com/llvm/llvm-project/commit/301e23305d03cfb4004f845a1d9dfdc5e5931fd8.dif

[clang] e6d50b4 - recommit [HIP] Fix -gsplit-dwarf option

2020-09-23 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-23T11:20:29-04:00 New Revision: e6d50b4f22dc6bbf0b0b40cfdab172bf5c1694e1 URL: https://github.com/llvm/llvm-project/commit/e6d50b4f22dc6bbf0b0b40cfdab172bf5c1694e1 DIFF: https://github.com/llvm/llvm-project/commit/e6d50b4f22dc6bbf0b0b40cfdab172bf5c1694e1.dif

[clang] e90343a - Fix regressioin in test dwp-separate-debug-file.cpp

2020-09-23 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-23T11:49:59-04:00 New Revision: e90343ada3bda55c697e7ae06dda3f8d8d6ded34 URL: https://github.com/llvm/llvm-project/commit/e90343ada3bda55c697e7ae06dda3f8d8d6ded34 DIFF: https://github.com/llvm/llvm-project/commit/e90343ada3bda55c697e7ae06dda3f8d8d6ded34.dif

[clang] 8e780a1 - Recommit [NFC] Refactor DiagnosticBuilder and PartialDiagnostic

2020-09-23 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-23T16:55:00-04:00 New Revision: 8e780a1653e6f87755a447e921b8f929d8b70996 URL: https://github.com/llvm/llvm-project/commit/8e780a1653e6f87755a447e921b8f929d8b70996 DIFF: https://github.com/llvm/llvm-project/commit/8e780a1653e6f87755a447e921b8f929d8b70996.dif

[clang-tools-extra] e39da8a - Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions"

2020-09-24 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-24T08:44:37-04:00 New Revision: e39da8ab6a286ac777d5fe7799f1eb782cf99938 URL: https://github.com/llvm/llvm-project/commit/e39da8ab6a286ac777d5fe7799f1eb782cf99938 DIFF: https://github.com/llvm/llvm-project/commit/e39da8ab6a286ac777d5fe7799f1eb782cf99938.dif

[clang] 7546b29 - [HIP] Support target id by --offload-arch

2020-08-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-08-18T23:43:53-04:00 New Revision: 7546b29e761687eeeaefcd8d963c19a2dac98d37 URL: https://github.com/llvm/llvm-project/commit/7546b29e761687eeeaefcd8d963c19a2dac98d37 DIFF: https://github.com/llvm/llvm-project/commit/7546b29e761687eeeaefcd8d963c19a2dac98d37.dif

[clang] a11ab6e - Fix test hip-target-id.hip

2020-08-18 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-08-19T00:41:14-04:00 New Revision: a11ab6e04c199c2a33d81c451e9e26bf18636dfc URL: https://github.com/llvm/llvm-project/commit/a11ab6e04c199c2a33d81c451e9e26bf18636dfc DIFF: https://github.com/llvm/llvm-project/commit/a11ab6e04c199c2a33d81c451e9e26bf18636dfc.dif

[clang] 62dbb7e - Revert "[HIP] Change default --gpu-max-threads-per-block value to 1024"

2020-09-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-02T16:12:28-04:00 New Revision: 62dbb7e54c65386f3cd73ef761a22b73532158f0 URL: https://github.com/llvm/llvm-project/commit/62dbb7e54c65386f3cd73ef761a22b73532158f0 DIFF: https://github.com/llvm/llvm-project/commit/62dbb7e54c65386f3cd73ef761a22b73532158f0.dif

[clang] 041da0d - [HIP] Add gfx1031 and gfx1030

2020-09-08 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-08T16:38:34-04:00 New Revision: 041da0d828e39d849c99adf1391aaa9291f4310f URL: https://github.com/llvm/llvm-project/commit/041da0d828e39d849c99adf1391aaa9291f4310f DIFF: https://github.com/llvm/llvm-project/commit/041da0d828e39d849c99adf1391aaa9291f4310f.dif

[clang] 4934127 - Diable sanitizer options for amdgpu

2020-09-10 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-10T15:41:07-04:00 New Revision: 4934127e627d7c58342be15bc9230a7cbdf5273f URL: https://github.com/llvm/llvm-project/commit/4934127e627d7c58342be15bc9230a7cbdf5273f DIFF: https://github.com/llvm/llvm-project/commit/4934127e627d7c58342be15bc9230a7cbdf5273f.dif

[clang] 4f14b80 - [HIP] unbundle bundled preprocessor output

2020-12-15 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-12-15T22:14:18-05:00 New Revision: 4f14b80803a458209b6b11daa3ec05076b8c4973 URL: https://github.com/llvm/llvm-project/commit/4f14b80803a458209b6b11daa3ec05076b8c4973 DIFF: https://github.com/llvm/llvm-project/commit/4f14b80803a458209b6b11daa3ec05076b8c4973.dif

[clang] b9fb063 - [clang-offload-bundler] Add option -allow-missing-bundles

2020-12-16 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-12-16T14:52:39-05:00 New Revision: b9fb063e63c7959e8bc9b424bd34b266ca826826 URL: https://github.com/llvm/llvm-project/commit/b9fb063e63c7959e8bc9b424bd34b266ca826826 DIFF: https://github.com/llvm/llvm-project/commit/b9fb063e63c7959e8bc9b424bd34b266ca826826.dif

[clang] fb58142 - Fix temporary file name on Windows

2020-11-15 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-11-15T08:11:05-05:00 New Revision: fb58142e00ad73c2e6bfd80452e5e9b080c81552 URL: https://github.com/llvm/llvm-project/commit/fb58142e00ad73c2e6bfd80452e5e9b080c81552 DIFF: https://github.com/llvm/llvm-project/commit/fb58142e00ad73c2e6bfd80452e5e9b080c81552.dif

[clang] 3f4b589 - [AMDGPU] Add option -munsafe-fp-atomics

2020-11-16 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-11-16T21:52:12-05:00 New Revision: 3f4b5893efed620d93015896d79eb276628286f8 URL: https://github.com/llvm/llvm-project/commit/3f4b5893efed620d93015896d79eb276628286f8 DIFF: https://github.com/llvm/llvm-project/commit/3f4b5893efed620d93015896d79eb276628286f8.dif

[clang] 10eb3bf - Skip -fPIE for AMDGPU and HIP toolchain

2020-09-28 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-28T22:03:18-04:00 New Revision: 10eb3bf2d430825195bf092d3a75c4745d463826 URL: https://github.com/llvm/llvm-project/commit/10eb3bf2d430825195bf092d3a75c4745d463826 DIFF: https://github.com/llvm/llvm-project/commit/10eb3bf2d430825195bf092d3a75c4745d463826.dif

[clang] 187658b - Recommit "[HIP] Change default --gpu-max-threads-per-block value to 1024"

2020-09-28 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-28T22:43:17-04:00 New Revision: 187658b8a6112446d9e7797d495bc7542ac83905 URL: https://github.com/llvm/llvm-project/commit/187658b8a6112446d9e7797d495bc7542ac83905 DIFF: https://github.com/llvm/llvm-project/commit/187658b8a6112446d9e7797d495bc7542ac83905.dif

[clang] 5a3023a - [HIP] Return non-zero value for invalid target ID

2020-09-28 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-28T23:07:39-04:00 New Revision: 5a3023a91c0ec82e7272569c5ca7a6eb372b129f URL: https://github.com/llvm/llvm-project/commit/5a3023a91c0ec82e7272569c5ca7a6eb372b129f DIFF: https://github.com/llvm/llvm-project/commit/5a3023a91c0ec82e7272569c5ca7a6eb372b129f.dif

[clang] d04775e - Add remquo, frexp and modf overload functions to HIP header

2020-09-29 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-09-29T20:57:56-04:00 New Revision: d04775e16bba456f0be0aaa7478959c5bfa22c41 URL: https://github.com/llvm/llvm-project/commit/d04775e16bba456f0be0aaa7478959c5bfa22c41 DIFF: https://github.com/llvm/llvm-project/commit/d04775e16bba456f0be0aaa7478959c5bfa22c41.dif

[clang] 36501b1 - Emit predefined macro for wavefront size for amdgcn

2020-10-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-02T10:17:21-04:00 New Revision: 36501b180a4f0194f0cfb4374d096ae660182827 URL: https://github.com/llvm/llvm-project/commit/36501b180a4f0194f0cfb4374d096ae660182827 DIFF: https://github.com/llvm/llvm-project/commit/36501b180a4f0194f0cfb4374d096ae660182827.dif

[clang] c87c017 - Fix failure in test hip-macros.hip

2020-10-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-02T10:33:32-04:00 New Revision: c87c017a4c47c47b002b9f55f25285298cd07093 URL: https://github.com/llvm/llvm-project/commit/c87c017a4c47c47b002b9f55f25285298cd07093 DIFF: https://github.com/llvm/llvm-project/commit/c87c017a4c47c47b002b9f55f25285298cd07093.dif

[clang] dc6a0b0 - [HIP] Align device binary

2020-10-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-02T18:10:44-04:00 New Revision: dc6a0b0ec7e3d72a4cc849af4e4aa6c6a29a53d2 URL: https://github.com/llvm/llvm-project/commit/dc6a0b0ec7e3d72a4cc849af4e4aa6c6a29a53d2 DIFF: https://github.com/llvm/llvm-project/commit/dc6a0b0ec7e3d72a4cc849af4e4aa6c6a29a53d2.dif

[clang] cbd420c - [CUDA][HIP] Fix bound arch for offload action for fat binary

2020-10-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-02T19:05:51-04:00 New Revision: cbd420c5ed8568774ace3ad8385b2346288e152c URL: https://github.com/llvm/llvm-project/commit/cbd420c5ed8568774ace3ad8385b2346288e152c DIFF: https://github.com/llvm/llvm-project/commit/cbd420c5ed8568774ace3ad8385b2346288e152c.dif

[clang] 2cd75f7 - Diagnose invalid target ID for AMDGPU toolchain for assembler

2020-10-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-02T19:38:02-04:00 New Revision: 2cd75f738ec6b150719a9468372d77b7064ff340 URL: https://github.com/llvm/llvm-project/commit/2cd75f738ec6b150719a9468372d77b7064ff340 DIFF: https://github.com/llvm/llvm-project/commit/2cd75f738ec6b150719a9468372d77b7064ff340.dif

[clang] 64f7790 - [HIP] Add option --gpu-instrument-lib=

2020-10-04 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-04T21:16:36-04:00 New Revision: 64f7790e7d2309b5d38949921a256acf8068e659 URL: https://github.com/llvm/llvm-project/commit/64f7790e7d2309b5d38949921a256acf8068e659 DIFF: https://github.com/llvm/llvm-project/commit/64f7790e7d2309b5d38949921a256acf8068e659.dif

[clang] fef0ebb - Revert "[HIP] Add option --gpu-instrument-lib="

2020-10-04 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-04T21:27:29-04:00 New Revision: fef0ebbc0b39167656bd11283e3084b000b309dd URL: https://github.com/llvm/llvm-project/commit/fef0ebbc0b39167656bd11283e3084b000b309dd DIFF: https://github.com/llvm/llvm-project/commit/fef0ebbc0b39167656bd11283e3084b000b309dd.dif

[clang] 9756a40 - Recommit "[HIP] Add option --gpu-instrument-lib="

2020-10-04 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-04T21:41:43-04:00 New Revision: 9756a402f297d0030689aaade3651785b7496649 URL: https://github.com/llvm/llvm-project/commit/9756a402f297d0030689aaade3651785b7496649 DIFF: https://github.com/llvm/llvm-project/commit/9756a402f297d0030689aaade3651785b7496649.dif

[clang] 5b551b7 - [HIP] Fix default output file for -E

2020-10-04 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-04T22:03:16-04:00 New Revision: 5b551b79d3bba5a8a282bf5f72c7baaccf925870 URL: https://github.com/llvm/llvm-project/commit/5b551b79d3bba5a8a282bf5f72c7baaccf925870 DIFF: https://github.com/llvm/llvm-project/commit/5b551b79d3bba5a8a282bf5f72c7baaccf925870.dif

[clang] e372c1d - [HIP] Fix -fgpu-allow-device-init option

2020-10-04 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-04T22:13:05-04:00 New Revision: e372c1d7624e2402a5f91a640780fb32649922b6 URL: https://github.com/llvm/llvm-project/commit/e372c1d7624e2402a5f91a640780fb32649922b6 DIFF: https://github.com/llvm/llvm-project/commit/e372c1d7624e2402a5f91a640780fb32649922b6.dif

[clang] b922554 - DeferredDiagnosticsEmitter crashes

2020-10-08 Thread Yaxun Liu via cfe-commits
Author: Geoff Levner Date: 2020-10-08T11:42:21-04:00 New Revision: b9225543e844bee5091aa16108e0c54bd2abe485 URL: https://github.com/llvm/llvm-project/commit/b9225543e844bee5091aa16108e0c54bd2abe485 DIFF: https://github.com/llvm/llvm-project/commit/b9225543e844bee5091aa16108e0c54bd2abe485.diff

[clang] e384e94 - Revert "[HIP] Change default --gpu-max-threads-per-block value to 1024"

2020-10-15 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-10-15T17:25:55-04:00 New Revision: e384e94fbe7c1d5c89fcdde33ffda04e9802c2ce URL: https://github.com/llvm/llvm-project/commit/e384e94fbe7c1d5c89fcdde33ffda04e9802c2ce DIFF: https://github.com/llvm/llvm-project/commit/e384e94fbe7c1d5c89fcdde33ffda04e9802c2ce.dif

[clang] cb08558 - [HIP] Fix regressions due to fp contract change

2020-11-24 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-11-24T08:10:06-05:00 New Revision: cb08558caa3bad69213b08e6361586491232c745 URL: https://github.com/llvm/llvm-project/commit/cb08558caa3bad69213b08e6361586491232c745 DIFF: https://github.com/llvm/llvm-project/commit/cb08558caa3bad69213b08e6361586491232c745.dif

[clang] 011bf4f - Add help text for -nogpuinc

2020-11-30 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-11-30T22:31:16-05:00 New Revision: 011bf4f55630858111e5f0504b3f7390eaf41e09 URL: https://github.com/llvm/llvm-project/commit/011bf4f55630858111e5f0504b3f7390eaf41e09 DIFF: https://github.com/llvm/llvm-project/commit/011bf4f55630858111e5f0504b3f7390eaf41e09.dif

[clang] cd95338 - [CUDA][HIP] Fix capturing reference to host variable

2020-12-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-12-02T10:14:46-05:00 New Revision: cd95338ee3022bffd658e52cd3eb9419b4c218ca URL: https://github.com/llvm/llvm-project/commit/cd95338ee3022bffd658e52cd3eb9419b4c218ca DIFF: https://github.com/llvm/llvm-project/commit/cd95338ee3022bffd658e52cd3eb9419b4c218ca.dif

[clang] 5c8911d - [CUDA][HIP] Diagnose reference of host variable

2020-12-02 Thread Yaxun Liu via cfe-commits
Author: Yaxun (Sam) Liu Date: 2020-12-02T10:15:56-05:00 New Revision: 5c8911d0ba3862119d2507aa55b94766263be13b URL: https://github.com/llvm/llvm-project/commit/5c8911d0ba3862119d2507aa55b94766263be13b DIFF: https://github.com/llvm/llvm-project/commit/5c8911d0ba3862119d2507aa55b94766263be13b.dif

<    1   2   3   4   5   6   7   8   9   10   >