Skip to content

Implement mid level IR between YUL and LL #257

Open
@xermicus

Description

@xermicus

Currently we translate YUL directly to LLVM. What I'm hoping to do better with an additional IR:

  • Reduce the amount of stack variables
  • Partially recover type information and use integer types narrower than i256 wherever possible
  • Create the obvious place to implement other domain specific optimizations

I'm eying to write a MLIR dialect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions