Sign in
swiftshader
/
SwiftShader
/
2f3d8f52d0fb51c9ab2558456bda9ad8e1205dfd
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
Hexagon
/
vsplat-isel.ll
blob: 9c5e3e17c4e8a2f04af0cc6d64f7d6c088898721 [
file
] [
log
] [
blame
]
; RUN: llc -march=hexagon -O0 < %s | FileCheck %s
; CHECK: vsplatb
declare
i32
@llvm.hexagon.S2.vsplatrb
(
i32
)
#
0
define
i32
@foo
(
i8
%x
)
{
%p0
=
zext
i8
%x
to
i32
%p1
=
tail
call
i32
@llvm.hexagon.S2.vsplatrb
(
i32
%p0
)
ret
i32
%p1
}