[all-commits] [llvm/llvm-project] a4d1cb: [NFC][GlobalISel] Refactor ownership of Instructio...
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Thu Jun 4 00:41:01 PDT 2026
Branch: refs/heads/users/pierre-vh/simplify-insnmatchers-alloc
Home: https://github.com/llvm/llvm-project
Commit: a4d1cb4ea19728c43b006c66e4e73db0e1307ade
https://github.com/llvm/llvm-project/commit/a4d1cb4ea19728c43b006c66e4e73db0e1307ade
Author: Pierre-vh <29600849+Pierre-vh at users.noreply.github.com>
Date: 2026-06-04 (Thu, 04 Jun 2026)
Changed paths:
M llvm/utils/TableGen/Common/GlobalISel/MatchTable/Matchers.cpp
M llvm/utils/TableGen/Common/GlobalISel/MatchTable/Matchers.h
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
M llvm/utils/TableGen/GlobalISelEmitter.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list