[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-19 Thread Anshil Gandhi via cfe-commits
https://github.com/gandhi56 closed https://github.com/llvm/llvm-project/pull/124989 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-19 Thread Anshil Gandhi via cfe-commits
gandhi56 wrote: Appreciate the review, @yxsamliu https://github.com/llvm/llvm-project/pull/124989 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

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

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-18 Thread Anshil Gandhi via cfe-commits
gandhi56 wrote: ping https://github.com/llvm/llvm-project/pull/124989 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-12 Thread Anshil Gandhi via cfe-commits
gandhi56 wrote: Internal tests have passed. https://github.com/llvm/llvm-project/pull/124989 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-10 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > I'm out of my depth here and will leave it up to @yxsamliu. It seems reasonable to me, but I would like @rjmccall to take a look. https://github.com/llvm/llvm-project/pull/124989 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-04 Thread Artem Belevich via cfe-commits
Artem-B wrote: I'm out of my depth here and will leave it up to @yxsamliu. https://github.com/llvm/llvm-project/pull/124989 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-03 Thread Anshil Gandhi via cfe-commits
@@ -0,0 +1,41 @@ +// RUN: %clang_cc1 -fcuda-is-device -triple amdgcn-amd-amdhsa -target-cpu gfx942 \ +// RUN: -emit-llvm -xhip %s -o - | FileCheck %s --check-prefix=GCN +// RUN: %clang_cc1 -fcuda-is-device -triple spirv64-amd-amdhsa \ +// RUN: -emit-llvm -xhip %s -o - | FileC

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-03 Thread Yaxun Liu via cfe-commits
@@ -0,0 +1,41 @@ +// RUN: %clang_cc1 -fcuda-is-device -triple amdgcn-amd-amdhsa -target-cpu gfx942 \ +// RUN: -emit-llvm -xhip %s -o - | FileCheck %s --check-prefix=GCN +// RUN: %clang_cc1 -fcuda-is-device -triple spirv64-amd-amdhsa \ +// RUN: -emit-llvm -xhip %s -o - | FileC

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-02-03 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > _ No description provided. _ Pls add a commit message about the issue this PR is addressing and a summary of what it does. https://github.com/llvm/llvm-project/pull/124989 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-01-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Anshil Gandhi (gandhi56) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/124989.diff 2 Files Affected: - (modified) clang/lib/CodeGen/CGVTables.cpp (+9-4) - (added) clang/test/CodeGenCUDA/increment-index-for-thunks.cu

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-01-29 Thread Anshil Gandhi via cfe-commits
https://github.com/gandhi56 ready_for_review https://github.com/llvm/llvm-project/pull/124989 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Increment VTable index for device thunks (PR #124989)

2025-01-29 Thread Anshil Gandhi via cfe-commits
https://github.com/gandhi56 created https://github.com/llvm/llvm-project/pull/124989 None >From 0e2317ae0ef1377bc461e7e461bf3b699d75014d Mon Sep 17 00:00:00 2001 From: Anshil Gandhi Date: Tue, 28 Jan 2025 18:04:44 -0600 Subject: [PATCH 1/3] [CUDA] Precommit test for VTable codegen --- .../Co