[PATCH] D61257: [CostModel][X86] Improve masked load/store AVX1/AVX2 costs

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 2 11:18:49 PDT 2019


RKSimon updated this revision to Diff 202615.
RKSimon retitled this revision from "[CostModel][X86] Reduce masked load/store AVX1/AVX2 costs" to "[CostModel][X86] Improve masked load/store AVX1/AVX2 costs".
RKSimon added a comment.

Split the load/store cost multipliers - we can keep the x2 for loads, and I've uses x8 for stores, which tbh is a pretty vague median value between the AMD and Intel costs.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61257

Files:
  lib/Target/X86/X86TargetTransformInfo.cpp
  test/Analysis/CostModel/X86/masked-intrinsic-cost-widen.ll
  test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
  test/Transforms/LoopVectorize/X86/masked_load_store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61257.202615.patch
Type: text/x-patch
Size: 160964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190602/f1b07d5b/attachment-0001.bin>


More information about the llvm-commits mailing list