]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/X86/pr17764.ll
Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / CodeGen / X86 / pr17764.ll
1 ; RUN: llc < %s -mtriple=x86_64-linux -mcpu=core-avx2 | FileCheck %s
2
3 define <16 x i16> @foo(<16 x i1> %mask, <16 x i16> %x, <16 x i16> %y) {
4   %ret = select <16 x i1> %mask, <16 x i16> %x, <16 x i16> %y
5   ret <16 x i16> %ret
6 }
7
8 ; CHECK: foo
9 ; CHECK: vpblendvb %ymm0, %ymm1, %ymm2, %ymm0
10 ; CHECK: ret