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.
Paths
| Differential D56991
[X86] Use X86ISD::VFPROUND instead of ISD::FP_ROUND for 256 and 512 bit cvtpd2ps intrinsics. ClosedPublic Authored by craig.topper on Jan 20 2019, 5:44 PM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 21 2019, 4:41 AM Closed by commit rL351762: [X86] Use X86ISD::VFPROUND instead of ISD::FP_ROUND for 256 and 512 bit… (authored by ctopper). · Explain WhyJan 21 2019, 12:15 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 182818 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/lib/Target/X86/X86InstrAVX512.td
llvm/trunk/lib/Target/X86/X86InstrFragmentsSIMD.td
llvm/trunk/lib/Target/X86/X86InstrSSE.td
llvm/trunk/lib/Target/X86/X86IntrinsicsInfo.h
|