• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=hexagon -O0 < %s | FileCheck %s
2; CHECK: vsplatb
3
4declare i32 @llvm.hexagon.S2.vsplatrb(i32) #0
5
6define 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}
11