[PATCH] D71733: [NFC][InlineCost] Factor cost modeling out of CallAnalyzer traversal.
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 19 16:30:29 PST 2019
mtrofin created this revision.
mtrofin added reviewers: davidxl, eraman.
Herald added subscribers: llvm-commits, dkrupp, donat.nagy, Szelethus, a.sidorin, haicheng, baloghadamsoftware, hiraditya.
Herald added a project: LLVM.
The goal is to simplify experimentation on the cost model. Today,
CallAnalyzer decides 2 things: legality, and benefit. The refactoring
keeps legality assessment in CallAnalyzer, and factors benefit
evaluation out, as an extension.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71733
Files:
llvm/lib/Analysis/InlineCost.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71733.234805.patch
Type: text/x-patch
Size: 27018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191220/bc0f868d/attachment.bin>
More information about the llvm-commits
mailing list