Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 425 Bytes

examples.rst

File metadata and controls

13 lines (9 loc) · 425 Bytes

Example---compiling a simple function

.. currentmodule:: llvmlite.binding


Compile and execute the function defined in ir-fpadd.py. For more information on ir-fpadd.py, see :doc:`Example---Defining a simple function <../ir/examples>`. The function is compiled with no specific optimizations.

.. literalinclude:: ../examples/ll_fpadd.py