We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This page describes how to use LLVMXMLIR to generate XML-based IR for LLVM.
$ cd llvm-semantics/llvm-xml-ir $ mkdir build; cd build $ PATH=<path to llvm installation dir>:$PATH cmake .. $ make
You can run make test to check whether the installation is done correctly. Currently the code passes all unit tests.
make test
$ llvm-xml-ir foo.bc -o foo.xml