Skip to content

Use bundled llc/opt on Windows

Motivation

Since Windows bindist for GHC 9.4+ comes with llc.exe/opt.exe, GHC should use them by default.

Proposal

lib/settings should contain something like:

,("LLVM llc command", "$tooldir/mingw/bin/llc.exe")
,("LLVM opt command", "$tooldir/mingw/bin/opt.exe")
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information