[llvm] [Offload] Implement 'olIsValidBinary' in offload and clean up (PR #159658)

Ross Brunton via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 19 03:17:52 PDT 2025


================
@@ -24,6 +24,18 @@ def olCreateProgram : Function {
     let returns = [];
 }
 
+def olIsValidBinary : Function {
----------------
RossBrunton wrote:

I'd prefer `olIsCompatibleBinary`; an ELF file (for example) can be a perfectly valid file yet not be compatible with the device.

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


More information about the llvm-commits mailing list