brintos

brintos / llvm-project-archived public Read only

0
0
Text · 857 B · 8df0703 Raw
28 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-unknown | FileCheck %s --check-prefix=X863; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s --check-prefix=X644 5define zeroext i16 @PR49028(i16 zeroext %0, ptr %1) {6; X86-LABEL: PR49028:7; X86:       # %bb.0:8; X86-NEXT:    movl {{[0-9]+}}(%esp), %ecx9; X86-NEXT:    movzwl {{[0-9]+}}(%esp), %eax10; X86-NEXT:    shrl %eax11; X86-NEXT:    sete (%ecx)12; X86-NEXT:    # kill: def $ax killed $ax killed $eax13; X86-NEXT:    retl14;15; X64-LABEL: PR49028:16; X64:       # %bb.0:17; X64-NEXT:    movl %edi, %eax18; X64-NEXT:    shrl %eax19; X64-NEXT:    sete (%rsi)20; X64-NEXT:    # kill: def $ax killed $ax killed $eax21; X64-NEXT:    retq22  %3 = lshr i16 %0, 123  %4 = icmp eq i16 %3, 024  %5 = zext i1 %4 to i825  store i8 %5, ptr %1, align 126  ret i16 %327}28