1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s --mtriple=x86_64-- -mcpu=cascadelake | FileCheck %s
4 define <3 x i1> @repro(i1 %cond) {
7 ; CHECK-NEXT: testb $1, %dil
8 ; CHECK-NEXT: jne .LBB0_1
10 ; CHECK-NEXT: kxorw %k0, %k0, %k0
11 ; CHECK-NEXT: jmp .LBB0_3
12 ; CHECK-NEXT: .LBB0_1:
13 ; CHECK-NEXT: kxnorw %k0, %k0, %k0
14 ; CHECK-NEXT: .LBB0_3:
15 ; CHECK-NEXT: kshiftrb $1, %k0, %k1
16 ; CHECK-NEXT: kmovd %k1, %edx
17 ; CHECK-NEXT: kshiftrb $2, %k0, %k1
18 ; CHECK-NEXT: kmovd %k1, %ecx
19 ; CHECK-NEXT: kmovd %k0, %eax
20 ; CHECK-NEXT: # kill: def $al killed $al killed $eax
21 ; CHECK-NEXT: # kill: def $dl killed $dl killed $edx
22 ; CHECK-NEXT: # kill: def $cl killed $cl killed $ecx
24 %select = select i1 %cond, <3 x i1> <i1 true, i1 true, i1 true>, <3 x i1> zeroinitializer