[PATCH] D65758: [AArch64][GlobalISel] Inline tiny memcpy et al at -O0

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 10:10:04 PDT 2019


aemerson created this revision.
aemerson added a reviewer: paquette.
Herald added subscribers: Petar.Avramovic, volkan, hiraditya, kristof.beyls, javed.absar, rovka.
Herald added a project: LLVM.

FastISel already does this since the initial arm64 port was upstreamed, so it seems there are no issues with doing this at -O0 for very small memcpys.

Gives a 0.2% geomean code size improvement on CTMark.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65758

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/inline-small-memcpy.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65758.213392.patch
Type: text/x-patch
Size: 5866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190805/42595d5f/attachment.bin>


More information about the llvm-commits mailing list