1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core-avx2 -mattr=+avx2 | FileCheck %s
6 define <4 x i64> @vpandn(<4 x i64> %a, <4 x i64> %b) nounwind uwtable readnone ssp {
8 ; Force the execution domain with an add.
9 %a2 = add <4 x i64> %a, <i64 1, i64 1, i64 1, i64 1>
10 %y = xor <4 x i64> %a2, <i64 -1, i64 -1, i64 -1, i64 -1>
11 %x = and <4 x i64> %a, %y
18 define <4 x i64> @vpand(<4 x i64> %a, <4 x i64> %b) nounwind uwtable readnone ssp {
20 ; Force the execution domain with an add.
21 %a2 = add <4 x i64> %a, <i64 1, i64 1, i64 1, i64 1>
22 %x = and <4 x i64> %a2, %b
29 define <4 x i64> @vpor(<4 x i64> %a, <4 x i64> %b) nounwind uwtable readnone ssp {
31 ; Force the execution domain with an add.
32 %a2 = add <4 x i64> %a, <i64 1, i64 1, i64 1, i64 1>
33 %x = or <4 x i64> %a2, %b
40 define <4 x i64> @vpxor(<4 x i64> %a, <4 x i64> %b) nounwind uwtable readnone ssp {
42 ; Force the execution domain with an add.
43 %a2 = add <4 x i64> %a, <i64 1, i64 1, i64 1, i64 1>
44 %x = xor <4 x i64> %a2, %b
51 ; CHECK: vpblendvb %ymm
53 define <32 x i8> @vpblendvb(<32 x i8> %x, <32 x i8> %y) {
54 %min_is_x = icmp ult <32 x i8> %x, %y
55 %min = select <32 x i1> %min_is_x, <32 x i8> %x, <32 x i8> %y