[llvm] [TableGen][GlobalISel] Add rule-wide type inference (PR #66377)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 19:16:22 PDT 2023
================
@@ -92,6 +92,14 @@ bool GIMatchTableExecutor::executeMatchTable(
return true;
};
+ // If the index is >= 0, it's an index in the type objects generated by
+ // TableGen. If the index is <0, it's an index in the recorded types object.
+ auto getTypeFromIdx = [&](int64_t Idx) -> const LLT & {
----------------
arsenm wrote:
don't pass LLT by reference
https://github.com/llvm/llvm-project/pull/66377
More information about the llvm-commits
mailing list