This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Don't look at type size for scalable types in isExtFreeImpl
ClosedPublic

Authored by dmgreen on Jun 14 2023, 8:56 AM.

Details

Summary

This fixes one of those 'Request for a fixed element count on a scalable object' errors in the AArch64 isExtFreeImpl method, where the uses of a sext are checked to see if the instruction can be considered free. https://godbolt.org/z/debYP9c4G

Diff Detail

Event Timeline

dmgreen created this revision.Jun 14 2023, 8:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 8:56 AM
dmgreen requested review of this revision.Jun 14 2023, 8:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 8:56 AM
paulwalker-arm accepted this revision.Jun 14 2023, 9:37 AM
This revision is now accepted and ready to land.Jun 14 2023, 9:37 AM
This revision was landed with ongoing or failed builds.Jun 15 2023, 12:47 AM
This revision was automatically updated to reflect the committed changes.