This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Wide vectors to promote the result and operands for legalization
AbandonedPublic

Authored by Allen on Nov 21 2022, 7:02 PM.

Diff Detail

Event Timeline

Allen created this revision.Nov 21 2022, 7:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 7:02 PM
Allen requested review of this revision.Nov 21 2022, 7:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 7:02 PM

I don't believe the input IR is valid. The intrinsics are only supported on certain types that relate to the expected instructions. The valid types for orv would be llvm.aarch64.sve.orv.nxv2i64, llvm.aarch64.sve.orv.nxv4i32, llvm.aarch64.sve.orv.nxv8i16 and llvm.aarch64.sve.orv.nxv16i8.

Was the input IR written by hand or did something generate it? If it was generated then there is likely a bug in whatever generated it.

Matt added a subscriber: Matt.Nov 22 2022, 11:02 AM
Allen abandoned this revision.Nov 22 2022, 6:32 PM

I don't believe the input IR is valid. The intrinsics are only supported on certain types that relate to the expected instructions. The valid types for orv would be llvm.aarch64.sve.orv.nxv2i64, llvm.aarch64.sve.orv.nxv4i32, llvm.aarch64.sve.orv.nxv8i16 and llvm.aarch64.sve.orv.nxv16i8.

Was the input IR written by hand or did something generate it? If it was generated then there is likely a bug in whatever generated it.

Thanks for your advice.