[LLVMdev] Thoughts on limited forward serialization?

Philip Reames listmail at philipreames.com
Tue Jan 6 16:23:08 PST 2015


Duncan,

I was wondering if you'd be open to making a change in the IR parser to 
accept and ignore 'metadata' keywords in the places they used to be 
required.  My common workflow is to use a version of clang (from the 
last major release) to generate test IR fragments.  Right now, this is 
not possible since IR generated by the previous released clang no longer 
parses with TOT.

I know we don't generally support forward serialization of IR, but in 
practice, it generally works for this type of usage.  What do you think?

Philip



More information about the llvm-dev mailing list