Page MenuHomePhabricator

[GlobalISel] Factor narrowScalar for G_ASHR and G_LSHR. NFC
ClosedPublic

Authored by Petar.Avramovic on Thu, Aug 22, 6:28 AM.

Details

Summary

Main difference is in the way Hi for Long shift (HiL) is made.
G_LSHR fills HiL with zeros, while G_ASHR fills HiL with sign bit value.

Diff Detail