This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Look through copy in MachineCombiner FMUL patterns.
ClosedPublic

Authored by dmgreen on May 30 2022, 12:20 AM.

Details

Summary

This is a small addition to D99662, which added machine combiner patterns for FMUL(DUP(..)). Due to the way these are generated from ISel, they may also be FMUL(COPY(DUP(..))), which this patch now ignores.

Diff Detail

Event Timeline

dmgreen created this revision.May 30 2022, 12:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 30 2022, 12:20 AM
dmgreen requested review of this revision.May 30 2022, 12:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 30 2022, 12:20 AM
SjoerdMeijer accepted this revision.May 30 2022, 1:24 AM

LGTM

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
5173

Perhaps a comment that we ignore the copy in FMUL(COPY(DUP(..)))?

This revision is now accepted and ready to land.May 30 2022, 1:24 AM
asavonic accepted this revision.May 30 2022, 1:29 AM

LGTM, thanks!

This revision was landed with ongoing or failed builds.May 31 2022, 1:28 AM
This revision was automatically updated to reflect the committed changes.