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)
Paths
| Differential D104210
[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)
Diff Detail
Unit TestsFailed
Event TimelineHerald added subscribers: vkmr, frasercrmck, evandro and 22 others. · 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 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 Closed by commit rG07990571812d: [RISCV][test] Add new tests of SH*ADD in the zba extension (authored by benshi001). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 352324 llvm/test/CodeGen/RISCV/rv32zba.ll
llvm/test/CodeGen/RISCV/rv64zba.ll
|