[PATCH] D132233: [CGP][ARM] Dont align memcpy args when optimization for size

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 10:31:25 PDT 2022


dmgreen updated this revision to Diff 455277.
dmgreen added a comment.

I've updated the test with all the output - and just shown the diffs here. With that test, if the array is no longer aligned then a series of load/stores will be needed, an LDM will have too-high alignment requirements.


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

https://reviews.llvm.org/D132233

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/test/CodeGen/ARM/memcpy-no-inline.ll
  llvm/test/CodeGen/ARM/memfunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132233.455277.patch
Type: text/x-patch
Size: 3688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220824/3f6e343a/attachment.bin>


More information about the llvm-commits mailing list