[PATCH] D40855: [PowerPC] LSR tunings for PowerPC
Brad Nemanich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 14:23:26 PST 2017
bnemanich created this revision.
Herald added subscribers: kbarton, nemanjai.
The purpose of this patch is to make LSR generate better code for Power. This is done by overriding isLSRCostLess to check instruction counts like X86 does. This was shown to show a 0.10% improvement in the geometric mean of SPEC 2006 tests on Power systems.
https://reviews.llvm.org/D40855
Files:
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
lib/Target/PowerPC/PPCTargetTransformInfo.h
test/Transforms/LoopStrengthReduce/PowerPC/lsr-insns-3.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40855.125613.patch
Type: text/x-patch
Size: 6741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171205/942b3956/attachment.bin>
More information about the llvm-commits
mailing list