[PATCH] D43441: [X86][AVX512DQ] Use packed instructions for scalar FP<->i64 conversions on 32-bit targets (PR31630)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 06:49:33 PST 2018


RKSimon created this revision.
RKSimon added reviewers: delena, craig.topper, zvi.

As i64 types are not legal on 32-bit targets, insert these into a suitable zero vector and use the packed vXi64<->FP conversion instructions instead.


Repository:
  rL LLVM

https://reviews.llvm.org/D43441

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-regcall-NoMask.ll
  test/CodeGen/X86/scalar-fp-to-i64.ll
  test/CodeGen/X86/scalar-int-to-fp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43441.134834.patch
Type: text/x-patch
Size: 36638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180218/db302cf3/attachment.bin>


More information about the llvm-commits mailing list