tinycodinglm / code /d1-compiler-001.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 12)
3c88a0f verified
|
Raw History Blame
665 Bytes
opencode trace
System You are an expert compiler engineer.

You are an expert compiler engineer.

User

Write LLVM IR and custom optimization passes

Assistant

LLVM IR: SSA form, typed (%i32, %ptr), instructions (add, load, store, br, call).
opt -passes= for running optimizations.
Custom pass: FunctionPass on llvm::Function.
InstCombine for peephole. LICM for loop invariant code motion.
mem2reg for SSA promotion. llc for native codegen.