This is an LLVM fork that tries to implements an MOS 6502 backend.
Refer to the Getting Started guide from LLVM.
A quick way to start (on Linux):
- Clone this repository
 - Run inside directory:
 
mkdir build
cd build
cmake .. -DLLVM_TARGETS_TO_BUILD:STRING="X86;Mos6502"
make -j4If you want to build more targets, append them to the LLVM_TARGETS_TO_BUILD
variable.  Adjust -j option of make in case you have more processor cores.
Run make install as usual.
TODO: Write how to convert from C/C++ with Clang to IR and 6502 assembly code.
To run regression tests for the MOS 6502 target, run from build/
make check-llvm-codegen-mos6502For more information on the LLVM test suite, refer to the Testing Guide.