[llvm-branch-commits] [clang] clang: Read the address space from the ABIArgInfo (PR #138865)

2025-05-07 Thread Artem Belevich via llvm-branch-commits
@@ -5384,16 +5384,16 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo, if (!NeedCopy) { // Skip the extra memcpy call. llvm::Value *V = getAsNaturalPointerTo(Addr, I->Ty); - auto *T = llvm::PointerType::get( -

[llvm-branch-commits] [clang] release/20.x: [CUDA] Add support for sm101 and sm120 target architectures (#127187) (PR #127918)

2025-02-21 Thread Artem Belevich via llvm-branch-commits
Artem-B wrote: ``` # CUDA - Clang now supports CUDA compilation with CUDA SDK up to v12.8 - Clang can now target sm_100, sm_101, and sm_120 GPUs (Blackwell) ``` https://github.com/llvm/llvm-project/pull/127918 ___ llvm-branch-commits mailing list llvm-

[llvm-branch-commits] [clang] release/20.x: [CUDA] Add support for sm101 and sm120 target architectures (#127187) (PR #127918)

2025-02-21 Thread Artem Belevich via llvm-branch-commits
Artem-B wrote: > patch is first reviewed by someone familiar with the code. That would be me, as I am the maintainer of CUDA code and had reviewed the original PR. > They approve the patch, and describe how the fix meets the release branch > patch requirements > (https://llvm.org/docs/HowTo

[llvm-branch-commits] [clang] release/20.x: [CUDA] Add support for sm101 and sm120 target architectures (#127187) (PR #127918)

2025-02-21 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B approved this pull request. I was the one proposing to merge this change, so I assumed that it's the release maintainers who'd need to stamp it. I am all for merging it. https://github.com/llvm/llvm-project/pull/127918 ___

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-25 Thread Artem Belevich via llvm-branch-commits
Artem-B wrote: Thank you for merging it. I do not think the fix is interesting enough for that. https://github.com/llvm/llvm-project/pull/115081 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/ma

[llvm-branch-commits] [llvm] 02930b8 - [NVPTX] Promote v2i8 to v2i16 (#111189)

2024-11-25 Thread Artem Belevich via llvm-branch-commits
Author: Manasij Mukherjee Date: 2024-11-19T14:15:13-08:00 New Revision: 02930b87faeb490505b22f588757a18744248b6f URL: https://github.com/llvm/llvm-project/commit/02930b87faeb490505b22f588757a18744248b6f DIFF: https://github.com/llvm/llvm-project/commit/02930b87faeb490505b22f588757a18744248b6f.d

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-19 Thread Artem Belevich via llvm-branch-commits
Artem-B wrote: Done. https://github.com/llvm/llvm-project/pull/115081 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-19 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/115081 >From 02930b87faeb490505b22f588757a18744248b6f Mon Sep 17 00:00:00 2001 From: Manasij Mukherjee Date: Fri, 4 Oct 2024 15:15:30 -0600 Subject: [PATCH] [NVPTX] Promote v2i8 to v2i16 (#89) Promote v2i8 to v2i1

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-19 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/115081 >From e0a9e99b9efbeae7eb975cc4ebaf1805566195f6 Mon Sep 17 00:00:00 2001 From: Manasij Mukherjee Date: Fri, 4 Oct 2024 15:15:30 -0600 Subject: [PATCH] [NVPTX] Promote v2i8 to v2i16 (#89) Promote v2i8 to v2i1

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-15 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/115081 >From ed0fe30e7d4da94b13018e563971524e013c512f Mon Sep 17 00:00:00 2001 From: Manasij Mukherjee Date: Fri, 4 Oct 2024 15:15:30 -0600 Subject: [PATCH] [NVPTX] Promote v2i8 to v2i16 (#89) Promote v2i8 to v2i1

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-15 Thread Artem Belevich via llvm-branch-commits
Artem-B wrote: That would be me -- I did the review of the original patch and just doing the legwork here to cherry-pick it into the 19.x branch. If you need somebody else, I'd ask @AlexMaclean https://github.com/llvm/llvm-project/pull/115081 ___ ll

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-12 Thread Artem Belevich via llvm-branch-commits
Artem-B wrote: The CI check was unhappy because PR was based on the tree before 19.1.4. I've rebased it on top of the most recent commit. https://github.com/llvm/llvm-project/pull/115081 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.l

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-12 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/115081 >From ed0fe30e7d4da94b13018e563971524e013c512f Mon Sep 17 00:00:00 2001 From: Manasij Mukherjee Date: Fri, 4 Oct 2024 15:15:30 -0600 Subject: [PATCH] [NVPTX] Promote v2i8 to v2i16 (#89) Promote v2i8 to v2i1

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-05 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B edited https://github.com/llvm/llvm-project/pull/115081 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] clang/AMDGPU: Set noalias.addrspace metadata on atomicrmw (PR #102462)

2024-08-08 Thread Artem Belevich via llvm-branch-commits
@@ -647,6 +647,14 @@ class LangOptions : public LangOptionsBase { return ConvergentFunctions; } + /// Return true if atomicrmw operations targeting allocations in private + /// memory are undefined. + bool threadPrivateMemoryAtomicsAreUndefined() const { +// Shoul

[llvm-branch-commits] [clang] clang/AMDGPU: Set noalias.addrspace metadata on atomicrmw (PR #102462)

2024-08-08 Thread Artem Belevich via llvm-branch-commits
@@ -550,6 +551,16 @@ AMDGPUTargetCodeGenInfo::getLLVMSyncScopeID(const LangOptions &LangOpts, void AMDGPUTargetCodeGenInfo::setTargetAtomicMetadata( CodeGenFunction &CGF, llvm::AtomicRMWInst &RMW) const { + + if (RMW.getPointerAddressSpace() == llvm::AMDGPUAS::FLAT_ADDRE

[llvm-branch-commits] [llvm] InferAddressSpaces: Handle llvm.is.constant (PR #102010)

2024-08-05 Thread Artem Belevich via llvm-branch-commits
Artem-B wrote: > From the clang-format documentation: > https://clang.llvm.org/docs/ClangFormatStyleOptions.html#removebracesllvm Thank you for the pointer. Unfortunately, it looks like there's a good reason it does not seem to be on by default: > Setting this option to true could lead to inc

[llvm-branch-commits] [llvm] InferAddressSpaces: Handle masked load and store intrinsics (PR #102007)

2024-08-05 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B approved this pull request. https://github.com/llvm/llvm-project/pull/102007 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] InferAddressSpaces: Handle llvm.is.constant (PR #102010)

2024-08-05 Thread Artem Belevich via llvm-branch-commits
@@ -429,6 +430,15 @@ void InferAddressSpacesImpl::collectRewritableIntrinsicOperands( appendsFlatAddressExpressionToPostorderStack(II->getArgOperand(0), PostorderStack, Visited); break; + case Intrinsic::is_constant: {

[llvm-branch-commits] [llvm] InferAddressSpaces: Handle llvm.is.constant (PR #102010)

2024-08-05 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B approved this pull request. https://github.com/llvm/llvm-project/pull/102010 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] 127091b - [CUDA] Normalize handling of defauled dtor.

2021-01-21 Thread Artem Belevich via llvm-branch-commits
Author: Artem Belevich Date: 2021-01-21T10:48:07-08:00 New Revision: 127091bfd5edf10495fee4724fd21c666e5d79c1 URL: https://github.com/llvm/llvm-project/commit/127091bfd5edf10495fee4724fd21c666e5d79c1 DIFF: https://github.com/llvm/llvm-project/commit/127091bfd5edf10495fee4724fd21c666e5d79c1.diff

[llvm-branch-commits] [clang] 0936655 - [CUDA] Do not diagnose host/device variable access in dependent types.

2020-12-14 Thread Artem Belevich via llvm-branch-commits
Author: Artem Belevich Date: 2020-12-14T11:53:18-08:00 New Revision: 0936655bac78f6e9cb84dc3feb30c32012100839 URL: https://github.com/llvm/llvm-project/commit/0936655bac78f6e9cb84dc3feb30c32012100839 DIFF: https://github.com/llvm/llvm-project/commit/0936655bac78f6e9cb84dc3feb30c32012100839.diff

[llvm-branch-commits] [clang] 016e4eb - [DWARF] Allow toolchain to adjust specified DWARF version.

2020-12-09 Thread Artem Belevich via llvm-branch-commits
Author: Artem Belevich Date: 2020-12-09T16:34:34-08:00 New Revision: 016e4ebfde28d6bb1ab6399fc8abd8cfc6a1d9fd URL: https://github.com/llvm/llvm-project/commit/016e4ebfde28d6bb1ab6399fc8abd8cfc6a1d9fd DIFF: https://github.com/llvm/llvm-project/commit/016e4ebfde28d6bb1ab6399fc8abd8cfc6a1d9fd.diff

[llvm-branch-commits] [clang] 4326792 - [CUDA] Another attempt to fix early inclusion of from libstdc++

2020-12-04 Thread Artem Belevich via llvm-branch-commits
Author: Artem Belevich Date: 2020-12-04T12:03:35-08:00 New Revision: 43267929423bf768bbbcc65e47a07e37af7f4e22 URL: https://github.com/llvm/llvm-project/commit/43267929423bf768bbbcc65e47a07e37af7f4e22 DIFF: https://github.com/llvm/llvm-project/commit/43267929423bf768bbbcc65e47a07e37af7f4e22.diff

[llvm-branch-commits] [clang] 0df1362 - [CUDA] Fix order of memcpy arguments in __shfl_*(<64-bit type>).

2020-01-24 Thread Artem Belevich via llvm-branch-commits
Author: Artem Belevich Date: 2020-01-24T15:07:22-08:00 New Revision: 0df13627c6a4006de39e5f01d81a338793b0e82b URL: https://github.com/llvm/llvm-project/commit/0df13627c6a4006de39e5f01d81a338793b0e82b DIFF: https://github.com/llvm/llvm-project/commit/0df13627c6a4006de39e5f01d81a338793b0e82b.diff