Shopify / seafoam

A tool for working with compiler graphs dumped by the GraalVM compiler
MIT License
126 stars 22 forks source link

Add support for Truffle 24.0.0 and Graal for JDK 22 #86

Closed nirvdrum closed 5 months ago

nirvdrum commented 5 months ago

This updates Seafoam to process and simplify nodes coming from Graal for JDK 22 and Truffle 24.0+ languages.

Using this simple Ruby script as an example:

def foo
  3 + 10
end

loop { foo }

With TruffleRuby 24.0.0 and Seafoam 0.0.15, we get:

image

And with this PR and TruffleRuby 24.0.0, we get:

image