Changelog for llvm-hs-pure-5.1.0
5.1.0 (2017-10-12)
Enhancements
- Suport string attributes as parameter attributes
- Support more calling conventions
- Support
NoTail
TailCallKind
5.0.0 (2017-09-07)
-
Support for LLVM 5.0
We only give a summary of the changes affecting the public API of
llvm-hs-pure
here. Please refer to the official release notes for LLVM 5.0 for an overview of all changes in LLVM 5.0.- The
X86_64_Win64
calling convention is now calledWin64
. - There is a new
Speculatable
function attribute. - The
CrossThread
synchronization scope has been removed. There is now a newSystem
synchronization scope.
- The
4.1.0 (2017-05-17)
- Switch AST to
ByteString
/ShortByteString
reflecting LLVM’s use of C-style strings. preferredAlignment
is now aWord32
instead ofMaybe Word32
. To recover the old behavior set it to the same value as abiAlignment.GlobalAlias
now expects the element type of a pointer type instead of the pointer type itself. The address space is passed separately via theaddrSpace
field. This makesGlobalAlias
consistent withGlobalVariable
.- The
FloatingPointType
constructor now takes aFloatingPointType
argument instead of a width and aFloatingPointFormat
to more closely match the LLVM IR language reference. - The
IsString
instance ofName
now throws an error on non-ASCII strings instead of silently discarding the upper bytes. There is also a newmkName
function with the same behavior for easier discoverability. Non-ASCII names need to be encoded using an arbitrary encoding to to aShortByteString
which can then be used as aName
.
4.0.0 (initial release, changes in comparison to llvm-general)
- Move modules from
LLVM.General*
toLLVM.*
- Support for LLVM 4.0
- Improved support for LLVM’s exception handling instructions
-fshared-llvm
is now supported on windows (thanks to @RyanGLScott)- Default to
-fshared-llvm
- Expose
LLVM.Internal.*
modules.