tshort / StaticCompiler.jl

Compiles Julia code to a standalone library (experimental)
Other
489 stars 31 forks source link

Remove optimization scaffolding, re-visit in future issue. #71

Closed femtomc closed 2 years ago

femtomc commented 2 years ago

@tshort let's take out optimization interception for now.

This is likely to rapidly change (e.g. failing now on nightly because getfield_elim_pass! has been removed) with the escape analysis work in CC, so maybe we fallback on the default optimization pipeline, and re-enable things in the future.

tshort commented 2 years ago

Looks like it's a net negative on tests which suggests parts of optimization are needed.

femtomc commented 2 years ago

@tshort this should just be running Core.Compiler.optimize without modification, so this confuses me.