This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Combine Trunc(DUP) -> DUP
ClosedPublic

Authored by dmgreen on Dec 19 2022, 3:24 AM.

Details

Summary

This adds a simple fold of TRUNCATE(AArch64ISD::DUP) -> AArch64ISD::DUP, which can help generate more optimal UMULL sequences, and seems useful in general.

Diff Detail

Event Timeline

dmgreen created this revision.Dec 19 2022, 3:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 19 2022, 3:24 AM
dmgreen requested review of this revision.Dec 19 2022, 3:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 19 2022, 3:24 AM
samtebbs accepted this revision.Dec 19 2022, 3:56 AM

Nice one, LGTM.

This revision is now accepted and ready to land.Dec 19 2022, 3:56 AM
This revision was landed with ongoing or failed builds.Dec 21 2022, 7:00 AM
This revision was automatically updated to reflect the committed changes.