[m-rev.] for post-commit review: comprehensive pred_origins in hlds dumps

Julien Fischer jfischer at opturion.com
Sun Jul 24 16:18:46 AEST 2022


On Sun, 24 Jul 2022, Zoltan Somogyi wrote:

> Make HLDS dumps of pred_origins comprehensive.
> 
> As an example, for one of the most-transformed predicates, the hlds dump
> now gives its origin as
>
>     % Origin base: user defined function list.map/2
>     % Transform 1 on pred 657, proc 0:
>     %  higher order specialization #46
>     % Transform 2 on pred 4521, proc 0:
>     %  loop invariant hoisting on line 889, #2
>     % Transform 3 on pred 4746, proc 0:
>     %  unused arg elimination for args 1, 2, 3, 4, 5, 6, 7, 8, 9, 13
>     % Transform 4 on pred 5018, proc 0:
>     %  last-call-modulo-construct on arg 1, #1

That looks fine.

Julien.


More information about the reviews mailing list