18 lines · plain
1; RUN: llc -mtriple=hexagon < %s2; REQUIRES: asserts3target triple = "hexagon"4 5; Function Attrs: nounwind readnone6define i64 @foo() #0 {7entry:8 %0 = tail call i32 @llvm.hexagon.S2.vsplatrb(i32 255)9 %conv = zext i32 %0 to i6410 %shl = shl nuw i64 %conv, 3211 %or = or i64 %shl, %conv12 ret i64 %or13}14 15declare i32 @llvm.hexagon.S2.vsplatrb(i32) #016 17attributes #0 = { nounwind readnone }18