[all-commits] [llvm/llvm-project] 65c0e4: [AArch64] Vector shifts cost 1

David Green via All-commits all-commits at lists.llvm.org
Thu Mar 3 02:43:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65c0e45a3790c391a0e87d9150c993dbb6537dee
      https://github.com/llvm/llvm-project/commit/65c0e45a3790c391a0e87d9150c993dbb6537dee
  Author: David Green <david.green at arm.com>
  Date:   2022-03-03 (Thu, 03 Mar 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.ll
    M llvm/test/Analysis/CostModel/AArch64/div.ll
    M llvm/test/Analysis/CostModel/AArch64/div_cte.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/gather-cost.ll

  Log Message:
  -----------
  [AArch64] Vector shifts cost 1

The costs of vector shifts was 2 as opposed to 1, as the nodes are
marked custom. Fix this like the others and mark the nodes as cheap.

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




More information about the All-commits mailing list