[llvm] [GlobalISel] Add `GITypeOf` special type (PR #66079)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 23:25:10 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:

return LLT by value 

https://github.com/llvm/llvm-project/pull/66079


More information about the llvm-commits mailing list