[PATCH] D153757: [RFC][TableGen][GlobalISel] Add Combiner Match Table Backend
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 30 12:21:36 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/test/TableGen/GlobalISelCombinerMatchTableEmitter/match-table.td:75-78
+// CHECK-NEXT: MachineFunction &MF = *I.getParent()->getParent();
+// CHECK-NEXT: MachineRegisterInfo &MRI = MF.getRegInfo();
+// CHECK-NEXT: const TargetSubtargetInfo &ST = MF.getSubtarget();
+// CHECK-NEXT: const PredicateBitset AvailableFeatures = getAvailableFeatures();
----------------
I'd expect all of this boilerplate to be in member / per function state initialization in the combiner info
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153757/new/
https://reviews.llvm.org/D153757
More information about the llvm-commits
mailing list