compiler-explorer / compiler-explorer

Run compilers interactively from your web browser and interact with the assembly
https://godbolt.org/
BSD 2-Clause "Simplified" License
15.66k stars 1.67k forks source link

[COMPILER REQUEST]: Cranelift #5729

Open a1phyr opened 8 months ago

a1phyr commented 8 months ago

Compiler name

Cranelift

Compiler version

>= 0.101

Compiler language

CLIF (Cranelift IR)

Compiler homepage

https://github.com/bytecodealliance/wasmtime/tree/main/cranelift

Motivation

Cranelift is a new compiler backend (like LLVM), designed for speed. It takes CLIF as input, which is an equivalent of LLVM IR.

Currently, there are four backends available: x86_64, aarch64, riscv64 and s390x.

OfekShilon commented 3 months ago

We'd welcome a PR for this! Today we rely almost entirely on contributions for language/compiler/library requests, and (we hope) the contribution process isn't very painful. Docs. We'll also be happy to try and help in our discord.