v0.27.0
-------

This release updates llvmlite to LLVM 7.  Note that LLVM 7.0.0 contains
a critical bug that is resolved with a patch included in the `llvmdev conda
package recipe`_.  The final release of LLVM 7.0.1 may also resolve the issue.

* PR #434: Add another thread for RPi builds. 
* PR #430: llvm lld integration, merge #428
* PR #428: Build LLD as part of the llvmdev package
* PR #413: Set up CI with Azure Pipelines
* PR #412: LLVM 7 support

.. _llvmdev conda package recipe: https://github.com/numba/llvmlite/tree/69aed71a829e6c552cca24a28c42abdf1efd2363/conda-recipes/llvmdev


v0.26.0
-------

The primary new features in this release is support for generation of Intel
JIT events, which makes profiling of JIT compiled code in Intel VTune
possible.  This release also contains some minor build improvements for ARMv7,
and some small fixes.

LLVM 7 support was originally slated for this release, but had to be delayed
after some issues arose in testing.  LLVM 6 is still required for llvmlite.

* PR #409: Use native cmake on armv7l
* PR #407: Throttle thread count for llvm build on armv7l. 
* PR #403: Add shutdown detection to ObjectRef __del__ method.
* PR #400: conda recipe: add make as build dep
* PR #399: Add get_element_offset to TargetData
* PR #398: Fix gep method call on Constant objects
* PR #395: Fix typo in irbuilder documentation 
* PR #394: Enable IntelJIT events for LLVM for VTune support


v0.25.0
-------

This release adds support for the FMA instruction, and has some documentation
and build improvements.  Starting with this release, we are including
ARMv8 (AArch64) testig in our CI process.

* PR #391: Fix broken win32 py2.7 build.
* PR #387: protect against empty features in list
* PR #384: Read CMAKE_GENERATOR which conda-build sets
* PR #382: rewrite of install instructions, calling out LLVM build challenges
* PR #380: Add FMA intrinsic support
* PR #379: ARM aarch64 test on jetson tx2
* PR #378: add slack, drop flowdock


v0.24.0
-------

This release adds support for Python 3.7 and fixes some build issues. It also
contains an updated SVML patch for the llvmdev package that works around some
vectorization issues. It also adds a selective LLVM 6.0.1 llvmdev build for the
`ppc64le` architecture.

* PR #374: Fix up broken patch selector
* PR #373: Add long description from readme
* PR #371: LLVM 6.0.1 build based on RC and fixes for PPC64LE
* PR #369: Recipe fixes for Conda Build 3
* PR #363: Workaround for incorrect vectorization factor computed for SVML
  functions
* PR #356: fix build on OpenBSD.
* PR #351: Python 3.7 compat: Properly escape repl in re.sub


v0.23.2
-------

This is a bug fix release to assist in addressing a critical Numba issue that
can affect users who download llvmlite packages from sources other than PyPI
(pip), Anaconda, or Intel Python: https://github.com/numba/numba/issues/3006

Support for SVML is now detected at compile time and baked into a function that
is exposed by llvmlite. This function can be queried at runtime to find out if
SVML is supported by the LLVM that llvmlite was compiled against, code
generation paths can then be adjusted accordingly.

The following PRs are closed in this release:

* PR #361: Add SVML detection and a function to declare support. 


v0.23.1
-------

This is a minor patch release that includes no code changes. It is issued to
fix a couple of problems with the build recipes for llvmdev (on which llvmlite
relies).

The following PRs are closed in this release:

* PR #353: PR Fix llvmdev build recipe.
* PR #348: llvmdev: enhancements to conda recipe


v0.23.0
-------

In this release, we upgrade to LLVM 6. Two LLVM patches are added:

  1. A patch to fix LLVM bug (https://bugs.llvm.org/show_bug.cgi?id=37019) that
     causes undefined behavior during CFG printing.
  2. A patch to enable Intel SVML auto-vectorization of transcendentals.

The following PRs are closed in this release:

* PR #343: Fix undefined behavior bug due to Twine usage in LLVM
* PR #340: This moves llvmlite to use LLVM 6.0.0 as its backend.
* PR #339: Add cttz & ctlz
* PR #338: Add 3 Bit Manipulation Intrinsics
* PR #330: Add support for LLVM fence instruction
* PR #326: Enable Intel SVML-enabled auto-vectorization for all the
           transcendentals


v0.22.0
----------

In this release, we have changed the locking strategy that protects LLVM from
race conditions.  Before, the llvmlite user (like Numba) was responsible for
this locking.  Now, llvmlite imposes a global thread lock on all calls into
the LLVM API.  This should be significantly less error prone.  Future llvmlite
releases may manually exempt some functions from locking once they are
determined to be thread-safe.

The following PRs are closed in this release:

* PR#318: Ensuring threadsafety in concurrent usage of LLVM C-API
* PR#221: Add all function/return value attributes from LLVM 3.9
* PR#304: Expose support for static constructors/destructors


v0.21.0
-------

In this release, we upgrade to LLVM 5.  Our build scripts now use
conda-build 3.  For our prebuilt binaries, GCC 7 toolchain is used
on unix-like systems and the OSX minimum deployment target is 10.9.

The following PRs are closed in this release:

* PR #315: Updates for conda build 3.
* PR #307: Fixes for LLVM5.
* PR #306: Working towards LLVM 5.0 support.


v0.20.0
-------

Beginning with this minor release, we support wheels for Linux, OSX and Windows.
Pull requests related to enabling wheels are #294, #295, #296 and #297.
There are also fixes to the documentation (#283 and #289).


v0.19.0
-------

This is a minor release with the following fixes.

* PR #281, Issue #280: Fix GEP addrspace issue
* PR #279: Fix #274 addrspace in gep
* PR #278: add Readthedocs badge
* PR #275: Add variables to pass through when doing conda-build
* PR #273: Fix the behavior of module.get_global
* PR #272: cmpop contains comparison type, not lhs
* PR #268, Fix #267: Support packed struct

The following are CI build related changes:

* PR #277: Add pass through gcc flags for llvmdev
* PR #276: Remove jenkins build scripts


v0.18.0
-------

This is a minor release that fixes several issues (#263, #262, #258, #237) with
the wheel build.  In addition, we have minor fixes for running on PPC64LE
platforms (#261).  And, we added CI testing against PyPy (#253).


v0.17.1
-------

This is a bugfix release that addresses issue #258 that our LLVM
binding shared library is missing from the wheel builds.


v0.17.0
-------

In this release, we are upgrading to LLVM 4.0.  We are also starting to
provide wheel packages for 64-bit Linux platforms (manylinux).

Fixes:

* Issue #249, PR #250: Disable static linking of libstdc++ by default.

Enhancements:

* PR #246: Add requirements.txt for pip dependency resolving
* PR #238: LLVM 4.0
* PR #222: Enable wheel builds


v0.16.0
-------

API changes:

* Switched from LLVM 3.8 to 3.9
* ``TargetData.add_pass`` is removed in LLVM 3.9.

Enhancements:

* PR #239: Enable fastmath flags
* PR #233: Updates for llvm3.9.1
* PR #199: Update for changes in LLVM 3.9

Fixes:

* PR #236: Fix metadata with long value
* PR #231: Fix setup.py for Python2.7 so that pip auto installs dependencies
* PR #226: Fix get_host_cpu_features() so that it fails properly


v0.15.0
-------

Enhancements:

* PR #213: Add partial LLVM bindings for ObjectFile.
* PR #215: Add inline assembly helpers in the builder.
* PR #216: Allow specifying alignment in alloca instructions.
* PR #219: Remove unnecessary verify in module linkage.

Fixes:

* PR #209, Issue #208: Fix overly restrictive test for library filenames.


v0.14.0
-------

Enhancements:

* PR #104: Add binding to get and view function control-flow graph.
* PR #210: Improve llvmdev recipe.
* PR #212: Add initializer for the native assembly parser.


v0.13.0
-------

Enhancements:

* PR #176: Switch from LLVM 3.7 to LLVM 3.8.
* PR #191: Allow setting the alignment of a global variable.
* PR #198: Add missing function attributes.
* PR #160: Escape the contents of metadata strings, to allow embedding
  any characters.
* PR #162: Add support for creating debug information nodes.
* PR #200: Improve the usability of metadata emission APIs.
* PR #200: Allow calling functions with metadata arguments
  (such as ``@llvm.dbg.declare``).

Fixes:

* PR #190: Suppress optimization remarks printed out in some cases by LLVM.
* PR #200: Allow attaching metadata to a ``ret`` instruction.


v0.12.1
-------

New release to fix packages on PyPI. Same as v0.12.0.


v0.12.0
-------

Enhancements:

* PR #179: Let llvmlite build on armv7l Linux.
* PR #161: Allow adding metadata to functions.
* PR #163: Allow emitting fast-math ``fcmp`` instructions.
* PR #159: Allow emitting verbose assembly in TargetMachine.

Fixes:

* Issue #177: Make setup.py compatible with ``pip install``.

v0.11.0
-------

Enhancements:

* PR #175: Check LLVM version at build time
* PR #169: Default initializer for non-external global variable
* PR #168: add ir.Constant.literal_array()


v0.10.0
-------

Enhancements:

* PR #146: Improve ``setup.py clean`` to wipe more leftovers.
* PR #135: Remove some llvmpy compatibility APIs.
* PR #151: Always copy TargetData when adding to a pass manager.
* PR #148: Make errors more explicit on loading the binding DLL.
* PR #144: Allow overriding ``-flto`` in Linux builds.
* PR #136: Remove Python 2.6 and 3.3 compatibility.
* Issue #131: Allow easier creation of constants by making type instances
  callable.
* Issue #130: The test suite now ensures the runtime DLL dependencies
  are within a certain expected set.
* Issue #121: Simplify build process on Unix and remove hardcoded linking
  with LLVMOProfileJIT.
* Issue #125: Speed up formatting of raw array constants.

Fixes:

* PR #155: Properly emit IR for metadata null.
* PR #153: Remove deprecated uses of ``TargetMachine::getDataLayout()``.
* PR #156: Move personality from LandingPadInstr to FunctionAttributes.
  It was moved in LLVM 3.7.
* PR #149: Implement LLVM scoping correctly.
* PR #141: Ensure no CMakeCache.txt file is included in sdist.
* PR #132: Correct constant in ``llvmir.py`` example.

v0.9.0
------

Enhancements:

* PR #73: Add get_process_triple() and get_host_cpu_features()
* Switch from LLVM 3.6 to LLVM 3.7.  The generated IR for some memory
  operations has changed.
* Improved performance of IR serialization.
* Issue #116: improve error message when the operands of a binop have
  differing types.
* PR #113: Let Type.get_abi_{size,alignment} not choke on identified types.
* PR #112: Support non-alphanumeric characters in type names.

Fixes:

* Remove the libcurses dependency on Linux.

v0.8.0
------

* Update LLVM to 3.6.2
* Add an *align* parameter to IRBuilder.load() and IRBuilder.store().
* Allow setting visibility, DLL storageclass of ValueRef
* Support profiling with OProfile

v0.7.0
------

* PR #88: Provide hooks into the MCJIT object cache
* PR #87: Add indirect branches and exception handling APIs to ir.Builder.
* PR #86: Add ir.Builder APIs for integer arithmetic with overflow
* Issue #76: Fix non-Windows builds when LLVM was built using CMake
* Deprecate .get_pointer_to_global() and add .get_function_address() and
  .get_global_value_address() in ExecutionEngine.

v0.6.0
------

Enhancements:

* Switch from LLVM 3.5 to LLVM 3.6.  The generated IR for metadata nodes
  has slightly changed, and the "old JIT" engine has been remove (only
  MCJIT is now available).
* Add an optional flags argument to arithmetic instructions on IRBuilder.
* Support attributes on the return type of a function.


v0.5.1
------

Fixes:

* Fix implicit termination of basic block in nested if_then()


v0.5.0
------

New documentation hosted at http://llvmlite.pydata.org

Enhancements:

* Add code-generation helpers from numba.cgutils
* Support for memset, memcpy, memmove intrinsics

Fixes:

* Fix string encoding problem when round-triping parse_assembly()


v0.4.0
------

Enhancements:

* Add Module.get_global()
* Renamd Module.global_variables to Module.global_values
* Support loading library parmanently
* Add Type.get_abi_alignment()

Fixes:

* Expose LLVM version as a tuple

Patched LLVM 3.5.1:
Updated to 3.5.1 with the same ELF relocation patched for v0.2.2.


v0.2.2
-------

Enhancements:

* Support for addrspacescast
* Support for tail call, calling convention attribute
* Support for IdentifiedStructType

Fixes:

* GEP addrspace propagation
* Various installation process fixes

Patched LLVM 3.5:
The binaries from the numba binstar channel use a patched LLVM3.5 for fixing
a LLVM ELF relocation bug that is caused by the use of 32-bit relative offset
in 64-bit binaries.  The problem appears to occur more often on hardened
kernels, like in CentOS.  The patched source code is available at:
https://github.com/numba/llvm-mirror/releases/tag/3.5p1


v0.2.0
-------

This is the first official release. It contains a few feature additions
and bug fixes. It meets all requirements to replace llvmpy in numba and
numbapro.

v0.1.0
-------

This is the first release. This is released for beta testing llvmlite
and numba before the official release.
