1 ; RUN: llc < %s -march=x86 | FileCheck %s
3 define signext i16 @foo(i16 signext %x) nounwind {
7 ; CHECK: movswl 4(%esp), %eax
8 ; CHECK: xorl $21998, %eax
13 define signext i16 @bar(i16 signext %x) nounwind {
17 ; CHECK: movswl 4(%esp), %eax
18 ; CHECK: xorl $-10770, %eax
19 %0 = xor i16 %x, 54766