[PATCH] D71956: [X86] Improve v2i64->v2f32 uint_to_fp on avx and avx2 targets.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 28 00:33:23 PST 2019


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Based on Simon's D52965 <https://reviews.llvm.org/D52965>, but improved to handle strict fp and
improve some of the shuffling.

Rather than use v2i1/v4i1 and let type legalization continue,
just generate all the code with legal types and use an explicit
shuffle.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71956

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
  llvm/test/CodeGen/X86/vec_int_to_fp.ll
  llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71956.235462.patch
Type: text/x-patch
Size: 10233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191228/82785bc1/attachment.bin>


More information about the llvm-commits mailing list