ROCm-CompilerSupport icon indicating copy to clipboard operation
ROCm-CompilerSupport copied to clipboard

Is LLVM IR supported as a source language?

Open stuartarchibald opened this issue 6 years ago • 1 comments

Seems like the amd_comgr_language_t enum has no entry for LLVM IR as a source language, I'm guessing an action of kind AMD_COMGR_ACTION_COMPILE_SOURCE_TO_BC fails due to this?

stuartarchibald avatar Nov 14 '18 11:11 stuartarchibald

Currently no, there are no actions which accept LLVM IR. An action to convert LLVM IR to BC could be added if it is useful.

scott-linder avatar Nov 14 '18 20:11 scott-linder

We still don't have an action to deal with LLVM IR directly. Instead we mostly deal with things at the bitcode level. Let me know if this is still needed and I can reopen this issue.

lamb-j avatar Mar 31 '23 17:03 lamb-j