[llvm] [Tablegen] Support Operand in morphing patterns (PR #99645)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 10:59:21 PDT 2024
================
@@ -294,6 +294,12 @@ void MatcherGen::EmitLeafMatchCode(const TreePatternNode &N) {
return;
}
+ if (LeafRec->isSubClassOf("Operand")) {
----------------
arsenm wrote:
Things that are timm should just be a consistent, fixed size since it doesn't matter. You can just pick i32 or whatever
https://github.com/llvm/llvm-project/pull/99645
More information about the llvm-commits
mailing list