Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

11 lines
239 B
LLVM

; 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
}