[X86] Fix sitofp and uitofp instruction matching failures with long double and avx512
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Sun, 20 Sep 2015 08:12:17 +0000 (08:12 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Sun, 20 Sep 2015 08:12:17 +0000 (08:12 +0000)
commit5610c288539200ffe321d5af014c566ed1edcd11
tree02a272445de008a7c986b88ff394f3c767215c81
parentd425988995267a4d0ad12a93b73f7274ff0e768c
[X86] Fix sitofp and uitofp instruction matching failures with long double and avx512

The operation action for i32 and i64 cannot be set to legal, as long double
needs custom lowering.

Patch by: mitch.l.bodart@intel.com
Differential Revision: http://reviews.llvm.org/D12372

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248114 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/scalar-int-to-fp.ll [new file with mode: 0644]