[PATCH] D87314: [IRSim][IROutliner] Allowing call instructions to be outlined.

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 11:44:14 PDT 2020


AndrewLitteken created this revision.
AndrewLitteken added a reviewer: paquette.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
AndrewLitteken requested review of this revision.

We add an extra check to make sure that we do not outline calls to indirect functions, but outline whatever the IRSimilarityIdentifier finds with respect to calls.

Tests:

- Removing test/Transforms/IROutliner/illegal-calls.ll
- Adding test/Transforms/IROutliner/outlining-calls.ll
- Adding test/Transforms/IROutliner/illegal-indirect-calls.ll


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87314

Files:
  llvm/include/llvm/Transforms/IPO/IROutliner.h
  llvm/test/Transforms/IROutliner/illegal-calls.ll
  llvm/test/Transforms/IROutliner/illegal-indirect-calls.ll
  llvm/test/Transforms/IROutliner/outlining-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87314.290553.patch
Type: text/x-patch
Size: 7409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/87813350/attachment.bin>


More information about the llvm-commits mailing list