ocaml-flambda / flambda-backend

The Flambda backend project for OCaml
93 stars 67 forks source link

Do not demote direct calls outside stubs #2663

Closed lthls closed 1 month ago

lthls commented 1 month ago

Alternative to #2651. We track whether the function we're simplifying is a stub, and we use that information to restrict the demotion of direct calls to indirect calls to stubs.