[WebAssembly] Rematerialize constants rather than hold them live in registers.

Description

[WebAssembly] Rematerialize constants rather than hold them live in registers.

Teach the register stackifier to rematerialize constants that have multiple
uses instead of leaving them in registers. In the WebAssembly encoding, it's
the same code size to materialize most constants as it is to read a value
from a register.

Details

Committed
djgJan 19 2016, 8:59 AM
Parents
rL258141: Simplify MCFillFragment.
Branches
Unknown
Tags
Unknown