4 ms·
Perhaps I am mistaken, but I was under the impression that the LLVM IR was subject to change at a whim. That may be something to keep in mind if you intend to t
by zqfm 13y ago
Perhaps I am mistaken, but I was under the impression that the LLVM IR was subject to change at a whim. That may be something to keep in mind if you intend to target it directly.
- octo_t 13y agothe text format changes, the API stays relatively static (afaik). Most tools use something similar to: LLVMContext &Context = getGlobalContext(); SMDiagnostic Err; Module *Mod = ParseIRFile(argv[1], Err, Context);
- jevinskie 13y agoThe C API is deemed stable. The C++ API changes every release. The textual IR has so far been forwards compatible. Bit code is also supposed to be forwards compatible but some bugs have prevented this in the past. Backwards compatibility is right out which can be frustrating.