brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 6ee270e Raw
38 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-unknown -mattr=+avx | FileCheck %s --check-prefix=X863; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx | FileCheck %s --check-prefix=X644 5@b = external dso_local local_unnamed_addr global i32, align 46 7define void @PR33960() {8; X86-LABEL: PR33960:9; X86:       # %bb.0: # %entry10; X86-NEXT:    retl11;12; X64-LABEL: PR33960:13; X64:       # %bb.0: # %entry14; X64-NEXT:    retq15entry:16  %tmp = insertelement <4 x i32> <i32 undef, i32 -7, i32 -3, i32 undef>, i32 -2, i32 317  %predphi26 = insertelement <4 x i32> %tmp, i32 -7, i32 018  %tmp1 = trunc <4 x i32> %predphi26 to <4 x i16>19  %tmp2 = icmp eq <4 x i16> %tmp1, zeroinitializer20  %tmp3 = icmp eq <4 x i32> undef, zeroinitializer21  %tmp4 = and <4 x i1> %tmp2, %tmp322  %predphi17 = select <4 x i1> %tmp4, <4 x i32> undef, <4 x i32> zeroinitializer23  %tmp5 = shl <4 x i32> %predphi17, <i32 16, i32 16, i32 16, i32 16>24  %tmp6 = ashr exact <4 x i32> %tmp5, <i32 16, i32 16, i32 16, i32 16>25  %tmp7 = or <4 x i32> %tmp6, undef26  %tmp8 = or <4 x i32> undef, %tmp727  %tmp9 = or <4 x i32> undef, %tmp828  %tmp10 = or <4 x i32> undef, %tmp929  %tmp11 = or <4 x i32> undef, %tmp1030  %tmp12 = or <4 x i32> undef, %tmp1131  %bin.rdx = or <4 x i32> %tmp12, undef32  %bin.rdx19 = or <4 x i32> %bin.rdx, undef33  %tmp13 = extractelement <4 x i32> %bin.rdx19, i32 034  %or = or i32 0, %tmp1335  store i32 %or, ptr @b, align 436  ret void37}38