[all-commits] [llvm/llvm-project] 95000f: [CUDA] Increment VTable index for device thunks (#...
Anshil Gandhi via All-commits
all-commits at lists.llvm.org
Wed Feb 19 20:47:43 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 95000fdb9e98a88b923fa7aa4bdeffbc618a323c
https://github.com/llvm/llvm-project/commit/95000fdb9e98a88b923fa7aa4bdeffbc618a323c
Author: Anshil Gandhi <95053726+gandhi56 at users.noreply.github.com>
Date: 2025-02-19 (Wed, 19 Feb 2025)
Changed paths:
M clang/lib/CodeGen/CGVTables.cpp
M clang/test/CodeGenCUDA/increment-index-for-thunks.cu
Log Message:
-----------
[CUDA] Increment VTable index for device thunks (#124989)
Currently, the clang frontend incorrectly emits the callee instead of
the thunk for the callee in the VTable. This is the case because the
thunk index is not incremented when their callees cannot be emitted.
This patch fixes the bug.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list