1; RUN: llc -march=hexagon < %s 2; REQUIRES: asserts 3target triple = "hexagon" 4 5; Function Attrs: nounwind readnone 6define i64 @foo() #0 { 7entry: 8 %0 = tail call i32 @llvm.hexagon.S2.vsplatrb(i32 255) 9 %conv = zext i32 %0 to i64 10 %shl = shl nuw i64 %conv, 32 11 %or = or i64 %shl, %conv 12 ret i64 %or 13} 14 15declare i32 @llvm.hexagon.S2.vsplatrb(i32) #0 16 17attributes #0 = { nounwind readnone } 18