1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-unknown | FileCheck %s --check-prefix=X86
3 ; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s --check-prefix=X64
5 define zeroext i16 @PR49028(i16 zeroext %0, ptr %1) {
8 ; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
9 ; X86-NEXT: movzwl {{[0-9]+}}(%esp), %eax
11 ; X86-NEXT: sete (%ecx)
12 ; X86-NEXT: # kill: def $ax killed $ax killed $eax
17 ; X64-NEXT: movl %edi, %eax
19 ; X64-NEXT: sete (%rsi)
20 ; X64-NEXT: # kill: def $ax killed $ax killed $eax
23 %4 = icmp eq i16 %3, 0
25 store i8 %5, ptr %1, align 1