[PATCH] [X86][FastIsel] Teach how to select scalar integer to float/double conversions.

Andrea Di Biagio Andrea_DiBiagio at sn.scee.net
Tue Feb 17 05:06:06 PST 2015


Hi mkuper, ributzka, qcolombet,

This patch teaches fast-isel how to handle integer to float/double conversions.
In particular, this patch teaches fast-isel how to select a (V)CVTSI2SSrr for an integer to float conversion, and how to select (V)CVTSI2SDrr for an integer to double conversion.

Added test 'fast-isel-int-float-conversion.ll'.

Please let me know if ok to submit.

Thanks,
Andrea

http://reviews.llvm.org/D7698

Files:
  lib/Target/X86/X86FastISel.cpp
  test/CodeGen/X86/fast-isel-int-float-conversion.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7698.20079.patch
Type: text/x-patch
Size: 3814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150217/03ebe85d/attachment.bin>


More information about the llvm-commits mailing list