This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Lower CTTZ on MVE
ClosedPublic

Authored by oliverlars on Sep 3 2019, 9:46 AM.

Details

Summary

Lower CTTZ on MVE using VBRSR and VCLS which will reverse the bits and count the leading zeros, equivalent to a count trailing zeros (CTTZ).

Diff Detail

Repository
rL LLVM

Event Timeline

oliverlars created this revision.Sep 3 2019, 9:46 AM
oliverlars updated this revision to Diff 218706.Sep 4 2019, 7:58 AM

Added verify-machineinstrs, a test for 2i64 as well as tests for the 'isundef' parameter

oliverlars updated this revision to Diff 219345.Sep 9 2019, 7:27 AM

fixed vbrsr not taking a register operand

dmgreen accepted this revision.Sep 13 2019, 1:59 AM

Like it. LGTM.

This revision is now accepted and ready to land.Sep 13 2019, 1:59 AM
oliverlars retitled this revision from [ARM} Lower CTTZ on MVE to [ARM] Lower CTTZ on MVE.Sep 16 2019, 6:37 AM