[PATCH] D47349: [AArch64] Limit inlining string functions with strict alignment

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 16:39:34 PDT 2018


evandro created this revision.
evandro added reviewers: eli.friedman, davide, javed.absar, sebpop.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls, eraman.

With strict alignment is required, limit excessive number of byte loads and stores when inlining `memset()` and `memcpy()`.

This will prevent the test case below from failing with https://reviews.llvm.org/D45098.


Repository:
  rL LLVM

https://reviews.llvm.org/D47349

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47349.148499.patch
Type: text/x-patch
Size: 5524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180524/4e5cad2a/attachment.bin>


More information about the llvm-commits mailing list