[PATCH] D119013: [ArgPromotion][AMDGPU] New MSSA-based function argument promotion pass with input/output argument support
Valery Pykhtin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 20 03:11:31 PST 2022
vpykhtin added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/MSSAArgPromotion.cpp:1
+//===------ MSSAArgPromotionPass.cpp - Promote by-reference arguments -----===//
+//
----------------
xbolva00 wrote:
> So.. better version of ArgumentPromotion? Any plans to replace ArgumentPromotion with MSSAArgPromotionPass?
For now it lacks of GEP, bitcast and byval struct passing support but eventually it will be added. I'm not sure if every target would benefit of [in/]out argument support and assume it would be done on per target basis: at least it would require to take in account added register pressure (if its an issue) with target-specific callback. There is no such callback in this patch yet and I'm going to add it later.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119013/new/
https://reviews.llvm.org/D119013
More information about the llvm-commits
mailing list