[llvm] [OFFLOAD] Add JIT support for SPIRV backend (PR #212823)

Nick Sarnie via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 10:50:13 PDT 2026


sarnex wrote:

> > do we see any new passing `check-offload` tests due to this? If so we might want to remove the `XFAIL` as part of this PR
> 
> I didn't try it and I don't think it should have any impact at the moment. It just came out as a result of experiments with libc i.e. we currently build deviceRTL as bitcode for spirv, everyone else builds libc as a bitcode but if we build libc as a bitcode for spirv, the plugin fails to run it. This will fix it so I can build libc as a bitcode for consistency with the rest of backends

Got it, thanks



> Do we have a JIT test in the unit tests? We probably should, could just compile one of the device inputs as LLVM-IR instead of going to an object.

Yeah this sounds like a good idea. I'll check this as a follow-up to this PR and add a test if we don't have one

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


More information about the llvm-commits mailing list