summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/promote-i16.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/promote-i16.ll')
-rw-r--r--test/CodeGen/X86/promote-i16.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/promote-i16.ll b/test/CodeGen/X86/promote-i16.ll
index 101bb29593..d7622651b1 100644
--- a/test/CodeGen/X86/promote-i16.ll
+++ b/test/CodeGen/X86/promote-i16.ll
@@ -4,8 +4,8 @@ define signext i16 @foo(i16 signext %x) nounwind {
entry:
; CHECK: foo:
; CHECK: movzwl 4(%esp), %eax
-; CHECK: xorl $21998, %eax
-; CHECK: movswl %ax, %eax
+; CHECK: xorl $21998, %eax
+; CHECK: movsx %ax, %eax
%0 = xor i16 %x, 21998
ret i16 %0
}