[all-commits] [llvm/llvm-project] f380f4: [AArch64][CostModel] Consider some nxv1 operations...

Gaëtan Bossu via All-commits all-commits at lists.llvm.org
Thu Aug 6 08:04:46 PDT 2026


  Branch: refs/heads/users/gbossu/gbossu.nxv1.costs.2
  Home:   https://github.com/llvm/llvm-project
  Commit: f380f45adfdf2d295874652d0e0e945fd81f53b6
      https://github.com/llvm/llvm-project/commit/f380f45adfdf2d295874652d0e0e945fd81f53b6
  Author: Gaëtan Bossu <gaetan.bossu at arm.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  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-arith.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-ldst.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/force-scalable-vectorization-always.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/invalid-costs.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-alloca.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-call.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-vectorization-cost-tuning.ll

  Log Message:
  -----------
  [AArch64][CostModel] Consider some nxv1 operations as legal

This is allowing some operations on vscale x 1 types, namely:
 - load/store
 - masked load/store
 - arithmetic instructions like add/sub/mul

For those, there is already codegen coverage. See e.g.
 - llvm/test/CodeGen/AArch64/sve-int-arith.ll
 - llvm/test/CodeGen/AArch64/sve-load-store-legalisation.ll
 - llvm/test/CodeGen/AArch64/sve-masked-gather.ll
 - llvm/test/CodeGen/AArch64/sve-masked-scatter.ll


  Commit: 7ecbf7c55d952569e9236ee88cbeaf3d32f72fc7
      https://github.com/llvm/llvm-project/commit/7ecbf7c55d952569e9236ee88cbeaf3d32f72fc7
  Author: Gaëtan Bossu <gaetan.bossu at arm.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M llvm/test/Analysis/CostModel/AArch64/masked_ldst.ll

  Log Message:
  -----------
  Avoid new undef in IR


Compare: https://github.com/llvm/llvm-project/compare/439fe9a96aec...7ecbf7c55d95

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list