[llvm] [GlobalISel] Add GIM_CheckMachineOperandType for matching metadata operands (PR #191389)
Sameer Sahasrabuddhe via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 03:56:21 PDT 2026
https://github.com/ssahasra created https://github.com/llvm/llvm-project/pull/191389
Add a new match table opcode GIM_CheckMachineOperandType and a corresponding MachineOperandTypeMatcher class to support matching operands by their MachineOperand type. This enables GlobalISel pattern matching for intrinsics that have metadata operands (MVT::Metadata), which previously could not be matched in the generated selector.
This is patch was extracted from #172090.
Co-authored-by: macurtis-amd <macurtis at amd.com>
Assisted-by: Claude Opus 4.6
The server is unavailable at this time. Please wait a few minutes before you try again.
More information about the llvm-commits
mailing list