mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
9a18ab013f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211659 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
414 B
LLVM
10 lines
414 B
LLVM
; RUN: llc < %s -march=x86-64 -mattr=+avx | FileCheck %s
|
|
|
|
declare <16 x i8> @llvm.x86.sse41.pblendvb(<16 x i8>, <16 x i8>, <16 x i8>)
|
|
|
|
define <16 x i8> @foo(<16 x i8> %x) {
|
|
; CHECK: vpblendvb
|
|
%res = call <16 x i8> @llvm.x86.sse41.pblendvb(<16 x i8> zeroinitializer, <16 x i8> <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>, <16 x i8> %x)
|
|
ret <16 x i8> %res;
|
|
}
|