[all-commits] [llvm/llvm-project] eac167: [CostModel][AArch64] Make loads/stores of <vscale ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Jul 14 08:44:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eac167073924e2a27f26a8931b038c1e18cdb08d
      https://github.com/llvm/llvm-project/commit/eac167073924e2a27f26a8931b038c1e18cdb08d
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-07-14 (Wed, 14 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/masked_ldst.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-gather.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-ldst.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-scatter.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-inductions.ll

  Log Message:
  -----------
  [CostModel][AArch64] Make loads/stores of <vscale x 1 x eltty> invalid.

At the moment, <vscale x 1 x eltty> are not yet fully handled by the
code-generator, so to avoid vectorizing loops with that VF, we mark the
cost for these types as invalid.
The reason for not adding a new "TTI::getMinimumScalableVF" is because
the type is supposed to be a type that can be legalized. It partially is,
although the support for these types need some more work.

Reviewed By: paulwalker-arm, dmgreen

Differential Revision: https://reviews.llvm.org/D103882




More information about the All-commits mailing list