[PATCH] D125485: [ArgPromotion] Unify byval promotion with non-byval

Pavel Samolysov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 05:27:03 PDT 2022


psamolysov updated this revision to Diff 439709.
psamolysov marked 2 inline comments as done.
psamolysov added a comment.

Apply suggestions from the code review.

The condition that the instruction is `load` was removed from the alignment check in the `HandleEndUser` lambda.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125485

Files:
  llvm/include/llvm/Transforms/IPO/ArgumentPromotion.h
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/test/Transforms/ArgumentPromotion/align.ll
  llvm/test/Transforms/ArgumentPromotion/attrs.ll
  llvm/test/Transforms/ArgumentPromotion/byval-2.ll
  llvm/test/Transforms/ArgumentPromotion/byval-through-pointer-promotion.ll
  llvm/test/Transforms/ArgumentPromotion/byval-with-padding.ll
  llvm/test/Transforms/ArgumentPromotion/byval.ll
  llvm/test/Transforms/ArgumentPromotion/dbg.ll
  llvm/test/Transforms/ArgumentPromotion/fp80.ll
  llvm/test/Transforms/ArgumentPromotion/store-after-load.ll
  llvm/test/Transforms/ArgumentPromotion/store-into-inself.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125485.439709.patch
Type: text/x-patch
Size: 53865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220624/8f9d875c/attachment.bin>


More information about the llvm-commits mailing list