This is an archive of the discontinued LLVM Phabricator instance.

[TableGen][GlobalISel] Support EXTRACT_SUBREGs for ComplexPattern suboperands.
ClosedPublic

Authored by kosarev on Mar 24 2023, 3:50 AM.

Details

Summary

This makes it possible to write GlobalISel patterns generating
EXTRACT_SUBREG instructions applied to suboperands of ComplexPattern
operands. Currently, TableGen complains that such operands are not
declared in matcher.

Diff Detail

Event Timeline

kosarev created this revision.Mar 24 2023, 3:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 3:50 AM
kosarev requested review of this revision.Mar 24 2023, 3:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 3:50 AM
kosarev updated this revision to Diff 508033.Mar 24 2023, 3:52 AM

Clang-format the patch.

foad added a subscriber: foad.Mar 24 2023, 5:44 AM
arsenm accepted this revision.Mar 24 2023, 5:53 AM
This revision is now accepted and ready to land.Mar 24 2023, 5:53 AM
This revision was landed with ongoing or failed builds.Mar 27 2023, 4:10 AM
This revision was automatically updated to reflect the committed changes.