From 2dad921d2c002f98267d075b9efc64671dd437f1 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 9 Apr 2018 13:42:14 +0000 Subject: [PATCH] [X86][MMX] Fix missing itinerary for MOVQ2DQ instruction format llvm-svn: 329567 --- lib/Target/X86/X86InstrFormats.td | 2 +- test/CodeGen/X86/mmx-schedule.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86InstrFormats.td b/lib/Target/X86/X86InstrFormats.td index b3f858faad6..a12c35a31a5 100644 --- a/lib/Target/X86/X86InstrFormats.td +++ b/lib/Target/X86/X86InstrFormats.td @@ -644,7 +644,7 @@ class MMXSDIi8 o, Format F, dag outs, dag ins, string asm, : Ii8, XD, Requires<[HasSSE2]>; class MMXS2SIi8 o, Format F, dag outs, dag ins, string asm, list pattern, InstrItinClass itin = NoItinerary> - : Ii8, XS, Requires<[HasSSE2]>; + : Ii8, XS, Requires<[HasSSE2]>; // SSE3 Instruction Templates: // diff --git a/test/CodeGen/X86/mmx-schedule.ll b/test/CodeGen/X86/mmx-schedule.ll index 9a75144e057..db17b4fa235 100644 --- a/test/CodeGen/X86/mmx-schedule.ll +++ b/test/CodeGen/X86/mmx-schedule.ll @@ -978,7 +978,7 @@ define <2 x i64> @test_movq2dq(x86_mmx %a0) optsize { ; ; ATOM-LABEL: test_movq2dq: ; ATOM: # %bb.0: -; ATOM-NEXT: movq2dq %mm0, %xmm0 # sched: [0:?] +; ATOM-NEXT: movq2dq %mm0, %xmm0 # sched: [1:0.50] ; ATOM-NEXT: retq # sched: [79:39.50] ; ; SLM-LABEL: test_movq2dq: