[PATCH] D15132: [X86][SSE] Update the cost table for integer-integer conversions on SSE2.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 16:02:33 PST 2015


congh created this revision.
congh added reviewers: hfinkel, RKSimon, davidxl.
congh added a subscriber: llvm-commits.

Previously in the conversion cost table there are no entries for integer-integer conversions on SSE2. This will result in imprecise costs for certain vectorized operations. This patch adds those entries for SSE2. The cost numbers are counted from the result of running llc on the new test case in this patch.

http://reviews.llvm.org/D15132

Files:
  lib/Target/X86/X86TargetTransformInfo.cpp
  test/Analysis/CostModel/X86/sitofp.ll
  test/Analysis/CostModel/X86/sse2-itoi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15132.41572.patch
Type: text/x-patch
Size: 11198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151202/af0c5ec1/attachment.bin>


More information about the llvm-commits mailing list