L

Llm Compiler 7b

Developed by facebook
An advanced large language model for compiler optimization developed by Meta, built upon Code Llama, specializing in code optimization and compiler reasoning tasks.
Downloads 1,053
Release Time : 6/4/2024

Model Overview

LLM Compiler is a large language model specifically designed for compiler optimization, capable of understanding LLVM-IR, x86_64, ARM, and CUDA assembly code, predicting optimization effects, and performing disassembly tasks.

Model Features

Compiler Behavior Simulation
Perfectly simulates LLVM optimizer behavior in 20% of cases, far surpassing existing public LLMs
Code Size Optimization
FTD version achieves 5.24% code size reduction compared to standard -Oz optimization (GPT-4 Turbo only 0.03%)
Advanced Disassembly Capability
BLEU score of 0.96 for converting x86_64/ARM assembly to LLVM-IR (GPT-4 Turbo scores 0.43)
Multi-Architecture Support
Pre-trained to cover LLVM-IR, x86_64, ARM, and CUDA assembly code

Model Capabilities

LLVM-IR optimization effect prediction
Optimal optimization sequence prediction
Assembly code decompilation
Compiler behavior simulation
Code size optimization suggestions

Use Cases

Compiler Development
Optimization Sequence Auto-Tuning
Predicts the best optimization sequence to minimize LLVM-IR code size
4.88% better code reduction than manual optimization
Disassembly Tool
Converts x86_64/ARM assembly to LLVM-IR intermediate representation
BLEU score of 0.96, nearly perfect conversion
Code Optimization
Performance-Critical Code Optimization
Provides optimization suggestions for performance-sensitive code
Perfectly replicates compiler optimization output in 20% of cases
Featured Recommended AI Models
AIbase
Empowering the Future, Your AI Solution Knowledge Base
© 2025AIbase