[PATCH] D84521: [IPSCCP] Optimistic function duplication. (WIP)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 05:21:29 PDT 2020


fhahn created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

This is just a proof-of-concept.

Optimistically duplicate track-able functions with all constant
arguments for functions up to a certain size.

This approach is relatively easy to implement but potentially quite
expensive and it might be better to just instant separate function-only
solver.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84521

Files:
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/test/Transforms/SCCP/ip-ranges-binaryops.ll
  llvm/test/Transforms/SCCP/ip-ranges-casts.ll
  llvm/test/Transforms/SCCP/ipsccp-cycles.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84521.280417.patch
Type: text/x-patch
Size: 29655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200724/98189668/attachment.bin>


More information about the llvm-commits mailing list