[PATCH] D15309: [CUDA] emit vtables only for classes with methods usable on this side of compilation.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 9 14:38:02 PST 2015


tra updated the summary for this revision.
tra updated this revision to Diff 42341.
tra added a comment.

Changed key method algorithm to ignore methods that we will not emit during this compilation (previous version didn't allow mixed host/device virtual methods).

For vtables with mixed host/device virtual methods, use NULL for methods we're not going to codegen.


http://reviews.llvm.org/D15309

Files:
  lib/AST/RecordLayoutBuilder.cpp
  lib/CodeGen/CGVTables.cpp
  test/CodeGenCUDA/device-vtable.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15309.42341.patch
Type: text/x-patch
Size: 4381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151209/383d0f05/attachment.bin>


More information about the cfe-commits mailing list