Implementation of the LLVM tutorial in Python
Need to motify the way BBs are created. I should create them with Block() and only later insert them into the function with f.basic_blocks.append... This ensures properly nested creation of BBs in case of nested conditionals, the way it's done in the C++ code. |
||
|---|---|---|
| .gitignore | ||
| chapter2.py | ||
| chapter3and4.py | ||
| chapter5.py | ||
| LICENSE | ||
| README.rst | ||
Pykaleidoscope
==============
Testing
-------
Some of the files have unit test classes in them. To run all unit tests::
$ python3.4 -m unittest discover -p "*.py"