repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Hexagon
/
vsplat-isel.ll
blob
9c5e3e17c4e8a2f04af0cc6d64f7d6c088898721
1
; RUN: llc -march=hexagon -O0 < %s | FileCheck %s
2
; CHECK: vsplatb
3
4
declare i32 @llvm.hexagon.S2.vsplatrb(i32) #0
5
6
define i32 @foo(i8 %x) {
7
%p0 = zext i8 %x to i32
8
%p1 = tail call i32 @llvm.hexagon.S2.vsplatrb(i32 %p0)
9
ret i32 %p1
10
}