[all-commits] [llvm/llvm-project] df19d8: [LV] Add option to tune the cost model, NFC

Allen via All-commits all-commits at lists.llvm.org
Wed Jun 7 07:09:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df19d872277fcb28344e3f1e35cb5d960d506bc4
      https://github.com/llvm/llvm-project/commit/df19d872277fcb28344e3f1e35cb5d960d506bc4
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    A llvm/test/Transforms/LoopVectorize/AArch64/neon-gather-cost.ll

  Log Message:
  -----------
  [LV] Add option to tune the cost model, NFC

For Neon, the default nonconst stride cost is conservative,
and it is a local variable, which is not convenience to
to tune the loop vectorize.
So I try to use a option, which is similar to SVEGatherOverhead brought in D115143.
Fix https://github.com/llvm/llvm-project/issues/63082.

Reviewed By: dmgreen, fhahn
Differential Revision: https://reviews.llvm.org/D152253




More information about the All-commits mailing list