[PATCH] D30539: [tablegen][globalisel] Add support for nested instruction matching.

Ahmed Bougacha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 11:05:59 PDT 2017


ab added inline comments.


================
Comment at: test/TableGen/GlobalISelEmitter.td:85
+// CHECK-NEXT:     MIB.add(MI0.getOperand(2)/*src3*/);
+// CHECK-NEXT:     MIB.setMemRefs(I.memoperands_begin(), I.memoperands_end());
+// CHECK-NEXT:     I.eraseFromParent();
----------------
On second thought, I'm not sure this is sufficient:  don't we need to merge the memops?


https://reviews.llvm.org/D30539





More information about the llvm-commits mailing list