diff options
author | Juan Manuel MARTINEZ CAAMAÑO <juamarti@amd.com> | 2023-06-29 09:11:54 +0200 |
---|---|---|
committer | Juan Manuel MARTINEZ CAAMAÑO <juamarti@amd.com> | 2023-06-29 09:49:16 +0200 |
commit | cc8a346e3fa362c2b1319cca9883182fbf36b6db (patch) | |
tree | 72a3305063c83b800e25e3125ee8cd82d68c5c60 /lldb/source/Commands/CommandObjectPlatform.cpp | |
parent | 9e37142dc12a7d57a793db56ea5fd259171fe20a (diff) | |
download | llvm-cc8a346e3fa362c2b1319cca9883182fbf36b6db.zip llvm-cc8a346e3fa362c2b1319cca9883182fbf36b6db.tar.gz llvm-cc8a346e3fa362c2b1319cca9883182fbf36b6db.tar.bz2 |
[InlineCost][TargetTransformInfo][AMDGPU] Consider cost of alloca instructions in the caller (1/2)
On AMDGPU, alloca instructions have penalty that can
be avoided when SROA is applied after inlining.
This patch introduces the default implementation of
TargetTransformInfo::getCallerAllocaCost.
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D149740
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions