[llvm] [GlobalISel][LLT] Introduce FPInfo for LLT (Enable bfloat, ppc128float and others in GlobalISel) (PR #155107)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 19 06:08:42 PST 2026


================
@@ -285,24 +285,46 @@ bool GIMatchTableExecutor::executeMatchTable(
         break;
       }
       const LLT Ty = MRI.getType(MO.getReg());
-      const auto TyI = ExecInfo.TypeIDMap.find(Ty);
-      if (TyI == ExecInfo.TypeIDMap.end()) {
-        CurrentIdx = Default;
-        break;
-      }
-      const int64_t TypeID = TyI->second;
-      if (TypeID < LowerBound || UpperBound <= TypeID) {
-        CurrentIdx = Default;
+
----------------
davemgreen wrote:

I think you can remove this - we have another way of doing that is more precise with the operations it acts upon. (And hopefully that helps keep this patch a little simpler).

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


More information about the llvm-commits mailing list