[llvm] [Offload] Erase entries from JIT cache when program is destroyed (PR #148847)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 06:22:05 PDT 2025


================
@@ -854,6 +854,9 @@ Error GenericDeviceTy::unloadBinary(DeviceImageTy *Image) {
       return Err;
   }
 
+  if (Image->getTgtImageBitcode())
----------------
jhuber6 wrote:

I forget how this works, we have the image passed in by the user and the one created by the backend right? I'm wondering if we should just check the magic bytes there.

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


More information about the llvm-commits mailing list