This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Remove dead tryMLAV64LaneV128 and tryMULLV64LaneV128 code. NFC
ClosedPublic

Authored by dmgreen on Apr 18 2023, 10:25 AM.

Details

Summary

As far as I can tell this code is never used, as the pattern recognised by checkHighLaneIndex (an duplane with insert_subvec and extract_subvec) will not be generated any more. There are no tests that change from removing it (including the clang neon tests), and it didn't appear to come up in any benchmarks I ran. There are already existing patterns for MLA with index and s/umull with index.

Removing it also prevents it from causing problems for SVE, as in #62151.

Diff Detail

Event Timeline

dmgreen created this revision.Apr 18 2023, 10:25 AM
dmgreen requested review of this revision.Apr 18 2023, 10:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2023, 10:25 AM
efriedma accepted this revision.Apr 18 2023, 10:34 AM

LGTM; I strongly prefer minimizing the amount of hand-written ISelDAGToDAG code.

This revision is now accepted and ready to land.Apr 18 2023, 10:34 AM
Matt added a subscriber: Matt.Apr 18 2023, 12:24 PM
This revision was landed with ongoing or failed builds.Apr 19 2023, 6:26 AM
This revision was automatically updated to reflect the committed changes.