Created attachment 214200 [details]
MLIR (Multi-Level Intermediate Representation Overview) is a set of IR instructions recently added to LLVM: https://mlir.llvm.org/
The attached patch adds the MLIR option and updates the port.
The LLVM release that is currently in ports doesn't build on FreeBSD with LLVM=ON.
Some patch issues:
- No updates to the build-plist code
- No symlinks for newly installed binaries. Need to add MLIR_COMMANDS variable too Makefile.COMMANDS
- Unrelated openmp linkage change not documented.
Created attachment 214213 [details]
I fixed the issues that you pointed out.