On Fri, Aug 14, 2026 at 2:13 PM H.J. Lu <[email protected]> wrote:
>
> Add EDGE_PURE_SIBCALL to mark an edge which has a pure sibcall without
> other control flow transfers.

I don't like the pure part of the name, especially considered pure for
a function that already exists.
Maybe ONLY would be better.


>
> * basic-block.h (EDGE_PURE_SIBCALL): New.
> * cfgbuild.cc (make_edges): Use EDGE_PURE_SIBCALL to make a
> sibcall edge.
> * cfgexpand.cc (expand_gimple_tailcall): Likewise.
> * cfgrtl.cc (purge_dead_edges): Assert EDGE_PURE_SIBCALL.
>
> --
> H.J.

Reply via email to