This is an archive of the discontinued LLVM Phabricator instance.

[SVE ACLE] Extend existing aarch64_sve_mul combines to also act on aarch64_sve_mul_u.
ClosedPublic

Authored by jolanta.jensen on Jun 2 2023, 8:57 AM.

Diff Detail

Event Timeline

jolanta.jensen created this revision.Jun 2 2023, 8:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2023, 8:57 AM
jolanta.jensen requested review of this revision.Jun 2 2023, 8:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2023, 8:57 AM
Matt added a subscriber: Matt.Jun 2 2023, 3:37 PM

I do not see here tests relying on an all active predicate, similar to tests added in https://reviews.llvm.org/rGdc63b35b02231a75d131fb6376d2e58a7ad9b7e4, is there specific reason to not add them here?

paulwalker-arm accepted this revision.Jun 5 2023, 4:04 AM

I do not see here tests relying on an all active predicate, similar to tests added in https://reviews.llvm.org/rGdc63b35b02231a75d131fb6376d2e58a7ad9b7e4, is there specific reason to not add them here?

The existing "all active predicate" inst combines that convert intrinsics to instructions only exist for the floating point binops (see intrinsicIDToBinOpCode).

This revision is now accepted and ready to land.Jun 5 2023, 4:04 AM
jolanta.jensen retitled this revision from [SVE ACLE] Apply the IR combine for mul to the mul_u variant to [SVE ACLE] Extend existing aarch64_sve_mul combines to also act on aarch64_sve_mul_u..Jun 5 2023, 4:26 AM
mgabka accepted this revision.Jun 5 2023, 6:13 AM