[PATCH] D140242: [AMDGPU] Modify adjustInliningThreshold to also consider the cost of passing function arguments through the stack

Janek van Oirschot via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 09:37:10 PST 2023


JanekvO updated this revision to Diff 489588.
JanekvO marked 2 inline comments as done.
JanekvO added a comment.

- Address feedback, add tests for ptr and different arg types


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140242

Files:
  llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  llvm/test/Transforms/Inline/AMDGPU/amdgpu-inline-stack-argument-i64.ll
  llvm/test/Transforms/Inline/AMDGPU/amdgpu-inline-stack-argument.ll
  llvm/test/Transforms/Inline/AMDGPU/amdgpu-inline-stack-ptr-argument.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140242.489588.patch
Type: text/x-patch
Size: 31536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230116/1e462249/attachment-0001.bin>


More information about the llvm-commits mailing list