Hi, I'm writing some compiler infrastructure in Rust and I intend for cranelift to be my first-party codegen/JIT backend of choice. For now, this question isn't about that, but about "CLIF".
I see a few conflicting uses online:
CLIF
short for "Cranelift IR Format"CLIF IR
short for "Cranelift IR". So, in my docs, should I use CLIF
or CLIF IR
I personally go with clif as short for cranelift and clif ir as short for cranelift ir.
FWIW, I actually tend to describe the IR itself as "CLIF" (the acronym expands to "... intermediate format", as you've noted). This is consistent with the file extension we use as well, "clif-util" that runs various actions on CLIF files, etc. The name for Cranelift is, well, Cranelift (or "CL" sometimes in my own writing but that's not terribly official)
Last updated: Dec 23 2024 at 12:05 UTC