Home | History | Annotate | Download | only in X86
      1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
      2 ; RUN: llc -mtriple=i686-unknown-linux-gnu %s -o - -mattr=avx512bw | FileCheck %s
      3 
      4 define void @test3(i32 %c, <64 x i1>* %ptr) {
      5 ; CHECK-LABEL: test3:
      6 ; CHECK:       # %bb.0:
      7 ; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax
      8 ; CHECK-NEXT:    cmpl $1, {{[0-9]+}}(%esp)
      9 ; CHECK-NEXT:    sbbl %ecx, %ecx
     10 ; CHECK-NEXT:    kmovd %ecx, %k0
     11 ; CHECK-NEXT:    kunpckdq %k0, %k0, %k0
     12 ; CHECK-NEXT:    kmovq %k0, (%eax)
     13 ; CHECK-NEXT:    retl
     14   %cmp = icmp eq i32 %c, 0
     15   %insert = insertelement <64 x i1> undef, i1 %cmp, i32 0
     16   %shuf = shufflevector <64 x i1> %insert, <64 x i1> undef, <64 x i32> zeroinitializer
     17   store <64 x i1> %shuf, <64 x i1>* %ptr
     18   ret void
     19 }
     20 
     21