[PATCH] D134192: [GISel] TreeMatcher: always skip leaves if they don't care

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 13:38:21 PDT 2022


Kai updated this revision to Diff 461339.
Kai edited the summary of this revision.
Kai added a comment.

- Adds a resize when adding the leaves which do not care about the instruction to all partitions, as it is done already in `addToPartition()`
- Adds a comment to the test. The test just follows the edges in the graph, to make sure the construction is correct.


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

https://reviews.llvm.org/D134192

Files:
  llvm/test/TableGen/GICombinerEmitter/match-tree.td
  llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134192.461339.patch
Type: text/x-patch
Size: 5551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220919/327a6ebf/attachment-0001.bin>


More information about the llvm-commits mailing list