Implement a x64-specific simplify pass for movzlq{}
Summary:On x64, we know that all l-width instructions zero the upper bits of a
64-bit dst register by default. We still have to emit movzlq{}'s after
such instructions for width-correctness, but we can reduce them down to
copies (and then copy-propagate them away).
Add a simplifier pass and a corresponding introspection routine for an
instruction's operand widths.
Reviewed By: swtaarrs
Differential Revision:
D3011105
fb-gh-sync-id:
d1d5c3ac76d8a12b4b19bf96531b95fcce1a4bea
shipit-source-id:
d1d5c3ac76d8a12b4b19bf96531b95fcce1a4bea