Skip to content

Optimize invokelatest on getglobal/getfield in codegen #59075

@KristofferC

Description

@KristofferC

JuliaDebug/JuliaInterpreter.jl#657 added an invokelatest for getting a global from a module in JuliaInterpreter which caused a performance regression (JuliaDebug/JuliaInterpreter.jl#657 (comment))

According to Keno this could be optimized in codegen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler:optimizerOptimization passes (mostly in base/compiler/ssair/)performanceMust go faster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions