[PATCH] D87309: [IRSim][IROutliner] Adding option to enable outlining from linkonceodr functions

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


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

There are functions that the linker is able to automatically deduplicate, we do not outline from these functions by default.  This allows for outlining from those functions.

Tests:

- llvm/test/Transforms/IROutliner/outlining-odr.ll


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87309

Files:
  llvm/include/llvm/Transforms/IPO/IROutliner.h
  llvm/lib/Transforms/IPO/IROutliner.cpp
  llvm/test/Transforms/IROutliner/outlining-odr.ll

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


More information about the llvm-commits mailing list