[PATCH] D31772: [PowerPC] Add pass to expand extra memcpy calls
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 6 09:46:15 PDT 2017
sfertile created this revision.
Herald added a subscriber: mgorny.
This patch adds a new Ir-Ir pass in the PPC back-end that expands memcpy calls. There are 2 types of expansion added:
1. calls where the size is a known compile time constant, but are large enough that we either don't want to or wont expand them with the straight line expansion.
2. Expand calls where the size isn't a compile time constant.
This patch is to be followed up with a subsequent patch which will leverage pgo profiling data to make better decisions about when and under what conditions to actually perform these expansions.
Repository:
rL LLVM
https://reviews.llvm.org/D31772
Files:
lib/Target/PowerPC/CMakeLists.txt
lib/Target/PowerPC/PPC.h
lib/Target/PowerPC/PPCLowerIntrinsics.cpp
lib/Target/PowerPC/PPCTargetMachine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31772.94385.patch
Type: text/x-patch
Size: 16977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170406/e3248559/attachment.bin>
More information about the llvm-commits
mailing list