From 5337e87594c207128da5125a618e9c9950eabb83 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 23 Jul 2013 01:21:36 +0000 Subject: [PATCH] Don't let x86 asm printer use the no operand movsd alias. It should use the normal movsl instead. llvm-svn: 186907 --- lib/Target/X86/X86InstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 9e5b6ff31d7..38196c69984 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -2128,7 +2128,7 @@ def : InstAlias<"movq $src, $dst", // movsd with no operands (as opposed to the SSE scalar move of a double) is an // alias for movsl. (as in rep; movsd) -def : InstAlias<"movsd", (MOVSD)>; +def : InstAlias<"movsd", (MOVSD), 0>; // movsx aliases def : InstAlias<"movsx $src, $dst", (MOVSX16rr8 GR16:$dst, GR8:$src), 0>;