This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Widen narrow sdiv/udiv operations.
ClosedPublic

Authored by efriedma on Aug 3 2020, 4:07 PM.

Details

Summary

The SVE instruction set only supports sdiv/udiv for 32-bit and 64-bit integers. If we see an 8-bit or 16-bit divide, widen the operands to 32 bits, and narrow the result.

Diff Detail

Event Timeline

efriedma created this revision.Aug 3 2020, 4:07 PM
Herald added a project: Restricted Project. · View Herald Transcript
efriedma requested review of this revision.Aug 3 2020, 4:07 PM
paulwalker-arm accepted this revision.Aug 4 2020, 5:49 AM
This revision is now accepted and ready to land.Aug 4 2020, 5:49 AM
This revision was landed with ongoing or failed builds.Aug 4 2020, 1:22 PM
This revision was automatically updated to reflect the committed changes.