[all-commits] [llvm/llvm-project] f56429: [IROutliner] Ensure instructions at end of candida...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Mon Aug 30 09:31:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f564299fe94bade150c845f134284038d27b422a
      https://github.com/llvm/llvm-project/commit/f564299fe94bade150c845f134284038d27b422a
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/IROutliner.cpp
    M llvm/test/Transforms/IROutliner/outlining-bitcasts.ll

  Log Message:
  -----------
  [IROutliner] Ensure instructions at end of candidate are excluded

Occasionally instructions are between the last instruction in a region,
and the following instruction as identified by the Candidate.  This
adds an extra check right before splitting a candidate that excludes the region from being split/checked for outlining to remove errors.

Tests Added:
Tranforms/IROuutliner/outlining-extra-bitcasts.ll

Reviewer: paquette, jroelofs

Differential Revision: https://reviews.llvm.org/D104142




More information about the All-commits mailing list