This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][test] Add new tests of SH*ADD in the zba extension
ClosedPublic

Authored by benshi001 on Jun 14 2021, 2:56 AM.

Details

Summary

These tests will show the following optimization by future patches.

Rx + Ry * 6 => (SH1ADD (SH2ADD Rx, Ry), Ry)
Rx + Ry * 10 => (SH1ADD (SH3ADD Rx, Ry), Ry)
Rx + Ry * 12 => (SH2ADD (SH3ADD Rx, Ry), Ry)

Diff Detail

Event Timeline

benshi001 created this revision.Jun 14 2021, 2:56 AM
benshi001 requested review of this revision.Jun 14 2021, 2:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2021, 2:56 AM
benshi001 retitled this revision from [RISCV][test] Add new tests of sh*add in the zba extension to [RISCV][test] Add new tests of SH*ADD in the zba extension.Jun 14 2021, 3:04 AM
benshi001 updated this revision to Diff 352311.Jun 15 2021, 6:18 PM
benshi001 edited the summary of this revision. (Show Details)
benshi001 updated this revision to Diff 352324.Jun 15 2021, 7:56 PM
benshi001 edited the summary of this revision. (Show Details)
MaskRay accepted this revision.Jun 16 2021, 1:31 PM

LGTM.

This revision is now accepted and ready to land.Jun 16 2021, 1:31 PM
This revision was landed with ongoing or failed builds.Jun 16 2021, 4:02 PM
This revision was automatically updated to reflect the committed changes.