[PATCH] D118979: [AArch64] Set maximum VF with shouldMaximizeVectorBandwidth
JinGu Kang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 4 02:20:11 PST 2022
jaykang10 created this revision.
jaykang10 added reviewers: dmgreen, fhahn, efriedma.
Herald added subscribers: hiraditya, kristof.beyls.
jaykang10 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Set the maximum VF of AArch64 with 128 / the size of smallest type in loop.
The performance improvement from benchmarks is as below.
SPEC2017
Benchmark Improvement(%)
500.perlbench_r -0.44372
502.gcc_r 0.11339
505.mcf_r -0.36421
520.omnetpp_r -0.12037
523.xalancbmk_r -0.55858
525.x264_r 0.390159
531.deepsjeng_r -0.02378
541.leela_r -0.01357
548.exchange2_r -0.00043
557.xz_r -0.17387
Overall improvement(%) on an internal benchmark 0.238949
https://reviews.llvm.org/D118979
Files:
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
llvm/test/Transforms/LoopVectorize/AArch64/extend-vectorization-factor-for-unprofitable-memops.ll
llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
llvm/test/Transforms/LoopVectorize/AArch64/reduction-small-size.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118979.405895.patch
Type: text/x-patch
Size: 4217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220204/40585a0e/attachment.bin>
More information about the llvm-commits
mailing list