[PATCH] D115216: [CodeExtractor] Optionally keep code in original function.
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 13:58:53 PDT 2022
Meinersbur updated this revision to Diff 424016.
Meinersbur added a comment.
Introduce --replace-with call to replace --bb-keep-functions and --bb-keep-blocks.
Makes the interface easier and --bb-keep-functions alone can result in invalid IR.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115216/new/
https://reviews.llvm.org/D115216
Files:
llvm/include/llvm/Transforms/IPO.h
llvm/include/llvm/Transforms/Utils/Cloning.h
llvm/include/llvm/Transforms/Utils/CodeExtractor.h
llvm/lib/Transforms/IPO/BlockExtractor.cpp
llvm/lib/Transforms/Utils/CloneFunction.cpp
llvm/lib/Transforms/Utils/CodeExtractor.cpp
llvm/test/tools/llvm-extract/extract-block-cleanup.ll
llvm/test/tools/llvm-extract/extract-block-multiple-exits.ll
llvm/test/tools/llvm-extract/extract-block-sink.ll
llvm/test/tools/llvm-extract/extract-block.ll
llvm/test/tools/llvm-extract/extract-blocks-with-groups.ll
llvm/tools/llvm-extract/llvm-extract.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115216.424016.patch
Type: text/x-patch
Size: 47922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220420/6a2b7702/attachment-0001.bin>
More information about the llvm-commits
mailing list