aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorAndrew Litteken <andrew_litteken@apple.com>2020-09-15 21:34:01 -0500
committerAndrew Litteken <andrew.litteken@gmail.com>2020-12-28 21:01:48 -0600
commit1e23802507d18ef8cb5a063325ff442ac7f527be (patch)
tree9e2a767628ca11a78db9f86e5e8ed8cbf1aa8ac8 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentf3f9ce3b7948b250bc532818ed76a64cea8b6fbe (diff)
downloadllvm-1e23802507d18ef8cb5a063325ff442ac7f527be.zip
llvm-1e23802507d18ef8cb5a063325ff442ac7f527be.tar.gz
llvm-1e23802507d18ef8cb5a063325ff442ac7f527be.tar.bz2
[IROutliner] Merging identical output blocks for extracted functions.
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. Tests: - llvm/test/Transforms/IROutliner/outlining-same-output-blocks.ll Reviewers: jroelofs, paquette Differential Revision: https://reviews.llvm.org/D87298
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions