This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Predicate for ROR immediate
ClosedPublic

Authored by evandro on May 17 2023, 5:26 PM.

Details

Summary

Add a common predicate for when the ROR immediate or "Bitfield extract, one register" idiom is used for EXTR or "Bitfield extract, two registers".

Diff Detail

Event Timeline

evandro created this revision.May 17 2023, 5:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2023, 5:26 PM
evandro requested review of this revision.May 17 2023, 5:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2023, 5:26 PM
dmgreen accepted this revision.May 18 2023, 12:46 AM

Sounds good to me.

This revision is now accepted and ready to land.May 18 2023, 12:46 AM

Do you have any details where you are planning to use this? Just to make sure we dont end up doing similar work. Thanks

@dmgreen, I am working on a scheduling model that will use this change and also noticed that other processors, like Neoverse N1, N2, V1, etc, besides Exynos, could benefit from it too.

This revision was automatically updated to reflect the committed changes.