Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GlobalISel] Add a m_SpecificReg matcher
Similar to the specific matchers for constants. The intention here is to make it easier to write combines which check if a specific register is used more than once. e.g. matching patterns like: ``` (X + Y) == Y ``` Differential Revision: https://reviews.llvm.org/D135378
- Loading branch information
Jessica Paquette
committed
Oct 6, 2022
1 parent
a5f5d72
commit 5c63b24
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters