This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Add `countRendererFns` to `InstructionOperandMatcher`
ClosedPublic

Authored by Pierre-vh on Sep 29 2022, 1:16 AM.

Details

Summary

Without it, the count of renderer functions is inaccurate and, in some
edge cases (like the patterns added in D134354), we can actually
go out of bounds (run out of pre-allocated renderer function spaces
in the GISel state)

Diff Detail

Event Timeline

Pierre-vh created this revision.Sep 29 2022, 1:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 29 2022, 1:16 AM
Pierre-vh requested review of this revision.Sep 29 2022, 1:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 29 2022, 1:16 AM
arsenm accepted this revision.Sep 29 2022, 5:57 AM
This revision is now accepted and ready to land.Sep 29 2022, 5:57 AM