[PATCH] D56991: [X86] Use X86ISD::VFPROUND instead of ISD::FP_ROUND for 256 and 512 bit cvtpd2ps intrinsics.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 20 17:44:53 PST 2019


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.

Use X86ISD::VFPROUND in the instruction isel patterns. Add new patterns for ISD::FP_ROUND to maintain support for fptrunc in IR.

In the process I found a couple duplicate isel patterns which I also deleted in this patch.


Repository:
  rL LLVM

https://reviews.llvm.org/D56991

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86InstrAVX512.td
  lib/Target/X86/X86InstrFragmentsSIMD.td
  lib/Target/X86/X86InstrSSE.td
  lib/Target/X86/X86IntrinsicsInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56991.182733.patch
Type: text/x-patch
Size: 11230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190121/55ddbaaf/attachment.bin>


More information about the llvm-commits mailing list