[PATCH] D32872: [PowerPC] Leverage PGO data to version/expand small/large memcpy calls
Brad Nemanich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 15 07:19:55 PST 2017
bnemanich marked 3 inline comments as done.
bnemanich added inline comments.
================
Comment at: lib/Target/PowerPC/PPCTargetTransformInfo.cpp:486
unsigned DestAlign) const {
- return Type::getInt64Ty(Context);
+ return VectorType::get(Type::getInt64Ty(Context),8);
}
----------------
sfertile wrote:
> I'm guessing this was meant to be a v2i64 instead of a v8i64
Actually, this was the intended size. This has the effect of having the main loop do four vector operations per iteration, which gives better performance.
https://reviews.llvm.org/D32872
More information about the llvm-commits
mailing list