From 80c310056c235b4394a0fdf5b7fc15333767f636 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 --- llvm/lib/Target/X86/X86InstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index 9e5b6ff..38196c6 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/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>; -- 2.7.4