Stream: cranelift

Topic: Parse IR


view this post on Zulip Chris Clark (Sep 10 2023 at 02:36):

I tried searching through the stream here and didn't see any results. I want to deserialize the rendered/displayed IR into it's corresponding function. Is this possible?

view this post on Zulip Afonso Bordado (Sep 10 2023 at 09:15):

Yeah, you can look into the cranelift-reader crates that implements all the function parsing and some other bits. It should be able to parse any function that is printable. (see parse_functions)


Last updated: Nov 22 2024 at 16:03 UTC