ROCm / ROCm-CompilerSupport

The compiler support repository provides various Lightning Compiler related services.
47 stars 31 forks source link

Is LLVM IR supported as a source language? #7

Closed stuartarchibald closed 1 year ago

stuartarchibald commented 5 years ago

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?

scott-linder commented 5 years ago

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.

lamb-j commented 1 year ago

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.