[PATCH] D60403: [CostModel][X86] Add bool anyof/allof reduction costs

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 14:50:06 PDT 2019


RKSimon updated this revision to Diff 195467.
RKSimon added a comment.

Use Type::getVectorElementType()->isIntegerTy(1) - reduction types should always be vectors


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60403

Files:
  lib/Target/X86/X86TargetTransformInfo.cpp
  test/Analysis/CostModel/X86/reduce-and-widen.ll
  test/Analysis/CostModel/X86/reduce-and.ll
  test/Analysis/CostModel/X86/reduce-or-widen.ll
  test/Analysis/CostModel/X86/reduce-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60403.195467.patch
Type: text/x-patch
Size: 43904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190416/5bf2ba7b/attachment.bin>


More information about the llvm-commits mailing list