Regarding interoperability with Slang-IR #6082
Unanswered
monowaranjum
asked this question in
Q&A
Replies: 1 comment
-
Currently there isn't functionality like what is described here. Currently IR stage can be dumped with a command line argument |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am a compiler enthusiast. Reading the design docs, My understanding of the slang compilation process is as follows: Source File -> Lex+ Preprocess+ Parse -> AST -> Lower To IR -> Optimize and Legalize -> Emit GLSL/HLSL -> invoke native compiler toolchain for emitting spirv or other formats.
My question is , is any library provided to interact with the slangIR ? For instance, something like slangIRBuilder or slangIRWriter which you can link against and produce slangIR ? My primary interest in this is due to be able to convert between llvm-IR and slang-IR and vice-versa. Does this functionality exist ? If not, is it possible to consider this option in future development?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions