[PATCH] D75590: [Attributor] IPO across definition boundary of a function marked alwaysinline

Luofan Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 19:37:06 PST 2020


bbn created this revision.
bbn added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: uenoku.
Herald added subscribers: llvm-commits, uenoku.
Herald added a project: LLVM.

If a function has `alwaysinline` attribute and can be inlined, we can treat the function as it has exact definition and perform fix-point analysis on it


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75590

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/test/Transforms/Attributor/alwaysinline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75590.248087.patch
Type: text/x-patch
Size: 4451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200304/dd9ce9a7/attachment.bin>


More information about the llvm-commits mailing list