From 66d23062485b36b62fde08246f6dc627d1b0f185 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 10 Nov 2016 06:45:34 +0000 Subject: [PATCH] [X86] Remove some patterns still referencing int_x86_sse2_cvttpd2dq that should have been removed in r286344. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286431 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSSE.td | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index 8de5a61beb2..f752426a948 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -2114,24 +2114,20 @@ let Predicates = [HasAVX, NoVLX] in { def CVTTPD2DQrr : PDI<0xE6, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src), "cvttpd2dq\t{$src, $dst|$dst, $src}", - [(set VR128:$dst, (int_x86_sse2_cvttpd2dq VR128:$src))], + [(set VR128:$dst, + (v4i32 (X86cvttpd2dq (v2f64 VR128:$src))))], IIC_SSE_CVT_PD_RR>, Sched<[WriteCvtF2I]>; def CVTTPD2DQrm : PDI<0xE6, MRMSrcMem, (outs VR128:$dst),(ins f128mem:$src), "cvttpd2dq\t{$src, $dst|$dst, $src}", - [(set VR128:$dst, (int_x86_sse2_cvttpd2dq - (memopv2f64 addr:$src)))], - IIC_SSE_CVT_PD_RM>, - Sched<[WriteCvtF2ILd]>; + [(set VR128:$dst, + (v4i32 (X86cvttpd2dq (memopv2f64 addr:$src))))], + IIC_SSE_CVT_PD_RM>, Sched<[WriteCvtF2ILd]>; let Predicates = [UseSSE2] in { let AddedComplexity = 15 in def : Pat<(X86vzmovl (v2i64 (bitconvert (v4i32 (X86cvttpd2dq (v2f64 VR128:$src)))))), (CVTTPD2DQrr VR128:$src)>; - def : Pat<(v4i32 (X86cvttpd2dq (v2f64 VR128:$src))), - (CVTTPD2DQrr VR128:$src)>; - def : Pat<(v4i32 (X86cvttpd2dq (memopv2f64 addr:$src))), - (CVTTPD2DQrm addr:$src)>; } // Predicates = [UseSSE2] // Convert packed single to packed double