This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen][AArch64] Add few more tests for fused operations (NFC)
ClosedPublic

Authored by sushgokh on Mar 17 2023, 3:56 AM.

Details

Summary

Add more tests to show oppurtunity for generating fused mul+add/sub ops.

Currently, in many cases, depending upon what immediate an add/sub immediate operation can handle, decision is taken at ISel to have seperate mul+add/sub or fused operations with priority being given to separate ops.

Upcoming patch in D142656 will try to address this.

Diff Detail

Event Timeline

sushgokh created this revision.Mar 17 2023, 3:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 17 2023, 3:56 AM
sushgokh requested review of this revision.Mar 17 2023, 3:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 17 2023, 3:56 AM

@paulwalker-arm Any suggestions/improvements ?

paulwalker-arm accepted this revision.Mar 24 2023, 5:14 AM
This revision is now accepted and ready to land.Mar 24 2023, 5:14 AM
This revision was landed with ongoing or failed builds.Mar 26 2023, 10:14 PM
This revision was automatically updated to reflect the committed changes.