Memory Operation Simplification. ZERO_ARRAY, MALLOC_NURSERY_VARSIZE

Closed Bitbucket Importer requested to merge branch/memop-simplify3 into branch/default

Created originally on Bitbucket by plan_rich (Richard Plangger)

Original PR head changeset 08f7c1c3571d967f12d2527316fd8533e17624cd) not available in Heptapod user interface after import. Displaying an empty list of of commits.

This essentially kills code (e.g. _imul_const_scaled in x86).

The last two operations (ZERO_ARRAY and CALL_MALLOC_NURSERY_VARSIZE) do not calculate scaling on their own, but let rewrite handle it.

I'm not quite sure if the following is desired (some backends e.g. ppc): nursery_varsize will always gets ConstInt(1) as a scaling factor.

Merge request reports