[PATCH] D69152: [gicombiner] Add GIMatchTree and use it for the code generation

Volkan Keles via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 15:07:49 PST 2019


volkan accepted this revision.
volkan added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/include/llvm/Target/GlobalISel/Combine.td:106
   (defs root:$d),
-  (match [{ return Helper.matchCombineCopy(${d}); }]),
-  (apply [{ Helper.applyCombineCopy(${d}); }])>;
+  (match (COPY $d, $s):$mi,
+         [{ return Helper.matchCombineCopy(*${mi}); }]),
----------------
Missing `wip_match_opcode` for COPY?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69152





More information about the llvm-commits mailing list