[PATCH] D104142: [IROutliner] Ensure instructions at end of candidate are excluded

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 11 12:00:01 PDT 2021


AndrewLitteken created this revision.
AndrewLitteken added a reviewer: jroelofs.
Herald added subscribers: ormris, hiraditya.
AndrewLitteken requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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 Changed:
Tranforms/IROuutliner/outlining-extra-bitcasts.ll


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104142

Files:
  llvm/lib/Transforms/IPO/IROutliner.cpp
  llvm/test/Transforms/IROutliner/outlining-bitcasts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104142.351522.patch
Type: text/x-patch
Size: 8317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210611/98c41d6f/attachment.bin>


More information about the llvm-commits mailing list