[all-commits] [llvm/llvm-project] 3c282a: [AArch64][CostModel] Allow more nxv1 operations on...

Gaëtan Bossu via All-commits all-commits at lists.llvm.org
Fri Sep 25 05:26:07 PDT 2026


  Branch: refs/heads/users/gbossu/gbossu.nxv1.costs.int
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c282a7731a554752b118be42b7e92f7c56b1618
      https://github.com/llvm/llvm-project/commit/3c282a7731a554752b118be42b7e92f7c56b1618
  Author: Gaëtan Bossu <gaetan.bossu at arm.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    A llvm/test/Analysis/CostModel/AArch64/sve-arith-overflow.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-arith.ll
    M llvm/test/CodeGen/AArch64/sve-int-arith.ll
    M llvm/test/CodeGen/AArch64/sve-int-log.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/invalid-costs.ll

  Log Message:
  -----------
  [AArch64][CostModel] Allow more nxv1 operations on integers

This rewrite the "approved" list to become an explicit "exclusion" list.
At this point, we can expect all arithmetic int operation to be valid
for nxv1 types, with the exception of div/rem and overflow ops.

FP types will be looked into later.

The patch adds codegen and costmodel tests.


  Commit: 597ae7aa27bdb0f3ef14ed27dd670ac7ffeb8e16
      https://github.com/llvm/llvm-project/commit/597ae7aa27bdb0f3ef14ed27dd670ac7ffeb8e16
  Author: Gaëtan Bossu <gaetan.bossu at arm.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/test/Analysis/CostModel/AArch64/sve-arith-overflow.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-arith.ll

  Log Message:
  -----------
  Use poison instead of undef


Compare: https://github.com/llvm/llvm-project/compare/5bdaa7b97d12...597ae7aa27bd

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