[PATCH] D97961: [Cost]Canonicalize the cost for logical or/and reductions.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 19 06:58:02 PDT 2021


ABataev updated this revision to Diff 331859.
ABataev added a comment.
Herald added a subscriber: hiraditya.

Added basic cost estimation for vector-to-scalar cast for SystemZ target.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97961/new/

https://reviews.llvm.org/D97961

Files:
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/reduce-and.ll
  llvm/test/Analysis/CostModel/AArch64/reduce-or.ll
  llvm/test/Analysis/CostModel/AMDGPU/reduce-and.ll
  llvm/test/Analysis/CostModel/AMDGPU/reduce-or.ll
  llvm/test/Analysis/CostModel/ARM/reduce-and.ll
  llvm/test/Analysis/CostModel/ARM/reduce-or.ll
  llvm/test/Analysis/CostModel/PowerPC/reduce-and.ll
  llvm/test/Analysis/CostModel/PowerPC/reduce-or.ll
  llvm/test/Analysis/CostModel/RISCV/reduce-and.ll
  llvm/test/Analysis/CostModel/RISCV/reduce-or.ll
  llvm/test/Analysis/CostModel/SystemZ/reduce-and.ll
  llvm/test/Analysis/CostModel/SystemZ/reduce-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97961.331859.patch
Type: text/x-patch
Size: 35985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210319/20f00c7a/attachment-0001.bin>


More information about the llvm-commits mailing list