[clang] [llvm] [Offload][SYCL] Refactor OffloadKind implementation (PR #135809)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 09:33:56 PDT 2025


================
@@ -923,10 +923,9 @@ Expected<SmallVector<StringRef>> linkAndWrapDeviceFiles(
         });
     auto LinkerArgs = getLinkerArgs(Input, BaseArgs);
 
-    DenseSet<OffloadKind> ActiveOffloadKinds;
+    uint16_t ActiveOffloadKindMask = 0u;
----------------
jhuber6 wrote:

This code doesn't need to be modified, but I guess we could if we wanted to get rid of the set. I don't think it's necessary now though.

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


More information about the cfe-commits mailing list