Roundtripping SPIR-V modules used the same MLIRContext object for both
ways of the trip. This resulted in deserialization using a context
object already containing Types constructed during serialization.
This commit rectifies that by creating a new MLIRContext during
deserialization.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks! It looks good to me, but I am not super familiar with the registration stuff, but looks fine overall.
@mehdi_amini PTAL.
Comment Actions
Thanks @mravishankar for the approval. If there are no doubts about the registration part can you please commit on my behalf? I don't have commit access.