Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evmlir

An out-of-tree MLIR compiler infrastructure targeting the Ethereum Virtual Machine (EVM).

Work in progress. The dialect design is stable; the translation layer and backend are under active development.

What this is

evmlir defines a single MLIR dialect (evm) that models EVM-specific constructs — storage, memory, calldata, external calls, logging, contract lifecycle — as first-class MLIR operations. Everything that standard dialects can express (arith, cf, scf, func, math) stays there. The evm dialect covers only what they cannot.

The compilation pipeline looks like this:

arith + cf + scf + func + math + evm
              ↓  translation (stack scheduling + emit)
         EVM bytecode

About

Out-of-tree MLIR dialect and compiler infrastructure targeting EVM bytecode

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages