This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Move instcombine like transforms out of SVEIntrinsicOpts
ClosedPublic

Authored by bsmith on Jul 16 2021, 5:39 AM.

Details

Summary

Instead move them to the instcombine that happens in AArch64TargetTransformInfo.

Diff Detail

Event Timeline

bsmith created this revision.Jul 16 2021, 5:39 AM
bsmith requested review of this revision.Jul 16 2021, 5:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2021, 5:39 AM
Matt added a subscriber: Matt.Jul 16 2021, 11:24 AM
peterwaller-arm accepted this revision.Jul 19 2021, 2:11 AM

Naming nit, but otherwise LGTM.

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
833

The majority of the other cases here have SVE in the name. Should we follow suit here? (No strong opinion either way, just pointing it out)

Also Ptest vs PTest -- the former doesn't appear in the codebase until this patch as far as I can see.

This revision is now accepted and ready to land.Jul 19 2021, 2:11 AM
This revision was landed with ongoing or failed builds.Jul 20 2021, 7:18 AM
This revision was automatically updated to reflect the committed changes.