[PATCH] D120753: [FuncSpec][NFC] Refactor internal structures.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 08:25:30 PST 2022


labrinea updated this revision to Diff 412426.
labrinea added a comment.

Changes from last revision:

- marked ArgInfo as const reference when passed to markArgInFuncSpecialization() and rewriteCallSites()
- passed SpecializationList by reference to calculateGains() instead of returning by value
- removed the IsPartial flag from isArgumentInteresting() and getPossibleConstants() as it's no longer used anywhere in the code
- clang-formatted the code


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120753/new/

https://reviews.llvm.org/D120753

Files:
  llvm/include/llvm/Transforms/Utils/SCCPSolver.h
  llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
  llvm/lib/Transforms/Utils/SCCPSolver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120753.412426.patch
Type: text/x-patch
Size: 18434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220302/ae4f64c6/attachment.bin>


More information about the llvm-commits mailing list