[clang] [llvm] [Driver][clang-linker-wrapper] Add initial support for OpenMP offloading to generic SPIR-V (PR #120145)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 07:28:45 PST 2024


================
@@ -735,11 +736,15 @@ wrapDeviceImages(ArrayRef<std::unique_ptr<MemoryBuffer>> Buffers,
 }
 
 Expected<SmallVector<std::unique_ptr<MemoryBuffer>>>
-bundleOpenMP(ArrayRef<OffloadingImage> Images) {
+bundleOpenMP(SmallVectorImpl<OffloadingImage> &Images) {
----------------
sarnex wrote:

Somehow I convinced myself it might be more performant to do it this way, but I'm not so sure that's true, let me try to just modified the serialized input.

https://github.com/llvm/llvm-project/pull/120145


More information about the cfe-commits mailing list