[PATCH] D22064: [X86] Make some cast costs more precise

Michael Kuperstein via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 13:06:59 PDT 2016


mkuper created this revision.
mkuper added reviewers: delena, RKSimon, spatel.
mkuper added a subscriber: llvm-commits.

This brings back from the dead the AVX table parts of Elena's D15604.

The SSE changes seem more closely bound to the strategy change (since the current costs use the weird "convert to simple types, then look up" form), I'll look into that separately.

http://reviews.llvm.org/D22064

Files:
  lib/Target/X86/X86TargetTransformInfo.cpp
  test/Analysis/CostModel/X86/sitofp.ll
  test/Analysis/CostModel/X86/uitofp.ll
  test/Transforms/LoopVectorize/X86/uint64_to_fp64-cost-model.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22064.62946.patch
Type: text/x-patch
Size: 9164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160706/18fd5fd5/attachment-0001.bin>


More information about the llvm-commits mailing list