This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][test] Add new tests for add optimization in the zba extension
ClosedPublic

Authored by benshi001 on Aug 16 2021, 11:20 PM.

Details

Summary

These tests will should how (add x, imm) will be optimized to
(shxadd x, imm>>bits) if imm is not simm12 while (imm>>bits) is.

Diff Detail

Event Timeline

benshi001 created this revision.Aug 16 2021, 11:20 PM
benshi001 requested review of this revision.Aug 16 2021, 11:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 16 2021, 11:20 PM
asb accepted this revision.Aug 19 2021, 4:51 AM
This revision is now accepted and ready to land.Aug 19 2021, 4:51 AM