[all-commits] [llvm/llvm-project] bc615e: [AArch64] Update addo and subo costs

David Green via All-commits all-commits at lists.llvm.org
Fri Jan 7 08:20:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc615e436c5c0d406a66ff634ed5a0bd84fb2912
      https://github.com/llvm/llvm-project/commit/bc615e436c5c0d406a66ff634ed5a0bd84fb2912
  Author: David Green <david.green at arm.com>
  Date:   2022-01-07 (Fri, 07 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/arith-overflow.ll
    M llvm/test/Analysis/CostModel/AArch64/arith-ssat.ll
    M llvm/test/Analysis/CostModel/AArch64/arith-usat.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/intrinsiccost.ll

  Log Message:
  -----------
  [AArch64] Update addo and subo costs

Similar to D116732, this adds basic scalar sadd_with_overflow,
uadd_with_overflow, ssub_with_overflow and usub_with_overflow costs for
aarch64, which are usually quite efficiently lowered.

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




More information about the All-commits mailing list