llvmlite
llvmlite copied to clipboard
A lightweight LLVM python binding for writing JIT compilers
`ir.Constant` objects are constructed with an `ir.Type` argument, which is stored in the undocumented `self.type` attribute. That attribute is helpful for using `ir.Constant`s in places where an explicit type is...
With LLVM v3.6.2 installed via Homebrew (default options, `--with-clang --with-python --with-rtti`) and latest llvmlite from git: ``` sh $ which clang++ /usr/local/bin/clang++ $ clang++ --version clang version 3.6.2 (tags/RELEASE_362/final) Target:...
Currently, https://llvmlite.pydata.org/ serves an invalid certificate (valid only for readthedocs.org), but SSL on custom domains in Read the Docs should work more or less out-of-the-box. According to [the documentation](https://docs.readthedocs.io/en/stable/custom_domains.html#custom-domain-ssl): >...
After installing llvmlite v0.26.0: ``` >>> import llvmlite >>> llvmlite.__version__ '0.26.0' >>> import llvmlite.binding Traceback (most recent call last): File "", line 1, in File "/home/sigma/llvmtest/local/lib/python2.7/site-packages/llvmlite/binding/__init__.py", line 6, in from...
``` python3.7: /root/miniconda3/conda-bld/llvmdev_1531160641630/work/lib/Support/Error.cpp:116: void llvm::report_fatal_error(llvm::Error, bool): Assertion `Err && "report_fatal_error called with success value"' failed. Process finished with exit code 134 (interrupted by signal 6: SIGABRT) ``` Sadly due to...
#417 added atomic load/store as separate implementation. Some refactoring could reduce code duplication as atomic and regular load/store are very similar.
Greetings, A component of a py2app binary I am producing is the algorithm UMAP (dimensionality reduction method). This works fine with my local versions of python but when creating a...
I'm considering reworking an old project of mine, but I couldn't find any docs on migrating. Where would I start looking for how to do so?
Code like `int8 = ir.IntType(8)` is very common with `llvmlite`. We could export type instances on for common int sizes at the `ir.types` module level.