brintos

brintos / llvm-project-archived public Read only

0
0
Text · 815 B · 9b8bbfd 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-prefixes=X644 5define i32 @pr32690(i32) {6; X86-LABEL: pr32690:7; X86:       # %bb.0:8; X86-NEXT:    movl {{[0-9]+}}(%esp), %ecx9; X86-NEXT:    xorl %eax, %eax10; X86-NEXT:    addl $63, %ecx11; X86-NEXT:    setb %al12; X86-NEXT:    shldl $26, %ecx, %eax13; X86-NEXT:    retl14;15; X64-LABEL: pr32690:16; X64:       # %bb.0:17; X64-NEXT:    movl %edi, %eax18; X64-NEXT:    addq $63, %rax19; X64-NEXT:    shrq $6, %rax20; X64-NEXT:    # kill: def $eax killed $eax killed $rax21; X64-NEXT:    retq22  %2 = zext i32 %0 to i6423  %3 = add nuw nsw i64 %2, 6324  %4 = lshr i64 %3, 625  %5 = trunc i64 %4 to i3226  ret i32 %527}28