[PATCH] D87298: [IRSim][IROutliner] Merging output blocks for extracted functions with outputs
Andrew Litteken via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 10:14:56 PDT 2020
AndrewLitteken created this revision.
AndrewLitteken added a reviewer: paquette.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
AndrewLitteken requested review of this revision.
Many of the sets of output stores will be the same. When a block is created, we check if there is an output block with the same set of store instructions. If there is, we map the output block of the region back to the block, so that the extra argument controlling the switch statement can be set to the appropriate block value.
Test:
- llvm/test/Transforms/IROutliner/outlining-same-output-blocks.ll
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87298
Files:
llvm/lib/Transforms/IPO/IROutliner.cpp
llvm/test/Transforms/IROutliner/extraction.ll
llvm/test/Transforms/IROutliner/outlining-same-output-blocks.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87298.290524.patch
Type: text/x-patch
Size: 15799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/1cf42d43/attachment.bin>
More information about the llvm-commits
mailing list