[PATCH] D60973: [llvm-extract] Expose the group extraction feature of the BlockExtractor

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 10:57:34 PDT 2019


qcolombet created this revision.
qcolombet added a reviewer: volkan.
Herald added a project: LLVM.

This patch extends the `-bb` option to be able to use the group
extraction feature from the BlockExtractor.
In particular, `-bb=func:bb` is modified to support a list of basic
blocks per function: `-bb=func:bb1[;bb2...]` that will be extracted
together if at all possible (region must be single entry.)


Repository:
  rL LLVM

https://reviews.llvm.org/D60973

Files:
  test/tools/llvm-extract/extract-blocks-with-groups.ll
  tools/llvm-extract/llvm-extract.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60973.196098.patch
Type: text/x-patch
Size: 6202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190422/bcdf0854/attachment.bin>


More information about the llvm-commits mailing list