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
NoTailTailCallKind
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-purehere. Please refer to the official release notes for LLVM 5.0 for an overview of all changes in LLVM 5.0.- The
X86_64_Win64calling convention is now calledWin64. - There is a new
Speculatablefunction attribute. - The
CrossThreadsynchronization scope has been removed. There is now a newSystemsynchronization scope.
- The
4.1.0 (2017-05-17)
- Switch AST to
ByteString/ShortByteStringreflecting LLVM’s use of C-style strings. preferredAlignmentis now aWord32instead ofMaybe Word32. To recover the old behavior set it to the same value as abiAlignment.GlobalAliasnow expects the element type of a pointer type instead of the pointer type itself. The address space is passed separately via theaddrSpacefield. This makesGlobalAliasconsistent withGlobalVariable.- The
FloatingPointTypeconstructor now takes aFloatingPointTypeargument instead of a width and aFloatingPointFormatto more closely match the LLVM IR language reference. - The
IsStringinstance ofNamenow throws an error on non-ASCII strings instead of silently discarding the upper bytes. There is also a newmkNamefunction with the same behavior for easier discoverability. Non-ASCII names need to be encoded using an arbitrary encoding to to aShortByteStringwhich 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-llvmis now supported on windows (thanks to @RyanGLScott)- Default to
-fshared-llvm - Expose
LLVM.Internal.*modules.