[PATCH] D155355: [AArch64] Set maximum vscale VF with shouldMaximizeVectorBandwidth

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 21:48:58 PDT 2023


Allen created this revision.
Allen added reviewers: dmgreen, paulwalker-arm, fhahn, sdesmalen, jaykang10.
Herald added subscribers: StephenFan, hiraditya, kristof.beyls.
Herald added a project: All.
Allen requested review of this revision.
Herald added subscribers: llvm-commits, wangpc.
Herald added a project: LLVM.

Set the maximum vscale VF of AArch64 with 128 / the size of smallest type in
loop if there is no register usage overflow, which is similar to the neon VF
done on D118979 <https://reviews.llvm.org/D118979>.


https://reviews.llvm.org/D155355

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-vectorization-cost-tuning.ll
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-vectorization.ll
  llvm/test/Transforms/LoopVectorize/AArch64/type-shrinkage-zext-costs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155355.540640.patch
Type: text/x-patch
Size: 7678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230715/deff540d/attachment.bin>


More information about the llvm-commits mailing list