Skip to content

Commit

Permalink
Merge pull request #574 from MatthewFluet/llvm-opaque-ptr
Browse files Browse the repository at this point in the history
LLVM opaque pointers

Update the LLVM codegen to generate LLVM IR using opaque pointers; using the LLVM codegen requires LLVM 15 (or higher).
  • Loading branch information
MatthewFluet authored Aug 9, 2024
2 parents 7a85b3b + 9c8aa88 commit 7dc0718
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 89 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Here are the changes from version 20210117 to YYYYMMDD.

=== Details

* 2024-08-09
** Update the LLVM codegen to generate LLVM IR using opaque
pointers; using the LLVM codegen requires LLVM 15 (or higher).

* 2024-05-22
** Optimize representation of sequences in `Useless` SSA
optimization.
Expand Down
4 changes: 4 additions & 0 deletions doc/guide/src/LLVMCodegen.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ As of 20230522, MLton requires LLVM 14, as it invokes `opt` using the
https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html#changes-to-the-llvm-ir:["new
pass manager"].

As of 20240809, MLton requires LLVM 15, as it generates LLVM IR using
https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html#changes-to-the-llvm-ir:["opaque
pointers"].

== Implementation

* https://github.com/MLton/mlton/blob/master/mlton/codegen/llvm-codegen/llvm-codegen.sig[`llvm-codegen.sig`]
Expand Down
Loading

0 comments on commit 7dc0718

Please sign in to comment.