[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
Thu Feb 17 05:35:33 PST 2022


vpykhtin updated this revision to Diff 409608.
vpykhtin added a comment.

@arsenm I've added inoutargs2.ll test which is modified rewrite_out_arguments.ll. Original checks are saved with REF prefix, differences marked with "; ***" prefix, please take a look. Most of the differences are related to bitcasts which my patch doesn't support yet, I'm not sure if it should be included in this commit


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119013

Files:
  llvm/include/llvm/InitializePasses.h
  llvm/include/llvm/Transforms/IPO.h
  llvm/include/llvm/Transforms/IPO/MSSAArgPromotion.h
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/lib/Transforms/IPO/CMakeLists.txt
  llvm/lib/Transforms/IPO/IPO.cpp
  llvm/lib/Transforms/IPO/MSSAArgPromotion.cpp
  llvm/test/CodeGen/AMDGPU/opt-pipeline.ll
  llvm/test/Transforms/ArgumentPromotion/align.ll
  llvm/test/Transforms/ArgumentPromotion/inoutargs.ll
  llvm/test/Transforms/ArgumentPromotion/inoutargs2.ll
  llvm/test/Transforms/ArgumentPromotion/opaque-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119013.409608.patch
Type: text/x-patch
Size: 180169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220217/c397f904/attachment-0001.bin>


More information about the llvm-commits mailing list