We are using both llvm 3.1 and llvm 3.7 in research. For our purpose, we need make bitcode generated by 3.7 to be compatible to llvm 3.1’s JIT for interpretation. However, we found they are incompatible. After disassembling the bitcode (generated by 3.7), we found there are more type information, comments, and other meta data compared to the bitcode generated by llvm 3.1.
So, my question is: how to make llvm3.7 generated bitcode acceptable to llvm 3.1’s JIT ? If we make modifications inside llvm 3.7, how much engineering effort would it be ?
Any advice and comments are welcomed.
Thanks a lot.