llvm
60195839 - [NFC][GlobalISel] Refactor ownership of InstructionMatchers (#200798)

Commit
124 days ago
[NFC][GlobalISel] Refactor ownership of InstructionMatchers (#200798) - Clarify that the array of InstructionMatchers in the RuleMatcher are for the roots only. - Let RuleMatcher own all of the InstructionMatcher used for/by predicates. They are all kept in an array in which the index of the InstructionMatcher is equal to its InsnID, which eliminates some redundant tracking. - Remove duplicate tracking of InsnID from RuleMatcher; InstructionMatcher does it on its own already. Co-authored-by: Pierre-vh <29600849+Pierre-vh@users.noreply.github.com>
Author
Parents
Loading