pvelesko wrote:

You're right. Tested it: on **rusticl** it's fine — the debug module loads and 
a full `-g` build succeeds. But on **Mali-G52** the ARM driver rejects the 
debug SPIR-V at `clCreateProgramWithIL` with `-30`. Since the HIPSPV toolchain 
force-disables device debug today (`adjustDebugInfoKind` clobbers `-g` to 
`NoDebugInfo`), `-g` works on Mali now — this PR would break that. We already 
have `CHIP_MALI_GPU_WORKAROUNDS` for these Mali SPIR-V issues, though, so we 
can just strip the non-semantic debug instructions at load time there.

https://github.com/llvm/llvm-project/pull/210504
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to