[PATCH] D143977: [RFC][GlobalISel] Allow match against iPTR operand in leaf node

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 01:27:00 PST 2023


shchenz added inline comments.


================
Comment at: llvm/utils/TableGen/GlobalISelEmitter.cpp:4607
+        OpTyOrNone = MVTToLLT(VT.SimpleTy);
+    }
     if (!OpTyOrNone)
----------------
Can you show an imported rule with ptr type in GISel's MatchTable after this change? I don't think `GIM_CheckType` can check a pointer type for now?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143977/new/

https://reviews.llvm.org/D143977



More information about the llvm-commits mailing list