[all-commits] [llvm/llvm-project] 1e2380: [IROutliner] Merging identical output blocks for e...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Mon Dec 28 19:21:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e23802507d18ef8cb5a063325ff442ac7f527be
      https://github.com/llvm/llvm-project/commit/1e23802507d18ef8cb5a063325ff442ac7f527be
  Author: Andrew Litteken <andrew_litteken at apple.com>
  Date:   2020-12-28 (Mon, 28 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/IROutliner.cpp
    M llvm/test/Transforms/IROutliner/extraction.ll
    M llvm/test/Transforms/IROutliner/illegal-assumes.ll
    M llvm/test/Transforms/IROutliner/illegal-memcpy.ll
    M llvm/test/Transforms/IROutliner/illegal-memmove.ll
    M llvm/test/Transforms/IROutliner/illegal-vaarg.ll
    M llvm/test/Transforms/IROutliner/outlining-remapped-outputs.ll
    M llvm/test/Transforms/IROutliner/outlining-same-output-blocks.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list