diff options
author | Dangeti Tharun kumar <Tharunkumar.dangeti@amd.com> | 2020-09-16 15:11:24 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-09-16 15:12:31 +0100 |
commit | 01e2b394ee16502440dbbb5440502a1e2aaf1477 (patch) | |
tree | 744c92f9c044b3d5b531a04cdc046e486ffd523d /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 855ec517a300daee6acb48474b6d3304c0914c60 (diff) | |
download | llvm-01e2b394ee16502440dbbb5440502a1e2aaf1477.zip llvm-01e2b394ee16502440dbbb5440502a1e2aaf1477.tar.gz llvm-01e2b394ee16502440dbbb5440502a1e2aaf1477.tar.bz2 |
[Partial Inliner] Compute intrinsic cost through TTI
https://bugs.llvm.org/show_bug.cgi?id=45932
assert(OutlinedFunctionCost >= Cloner.OutlinedRegionCost && "Outlined function cost should be no less than the outlined region") getting triggered in computeBBInlineCost.
Intrinsics like "assume" are considered regular function calls while computing costs.
This patch enables computeBBInlineCost to queries TTI for intrinsic call cost.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D87132
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions