1 ; RUN: llc < %s -mtriple=ve -mattr=+vpu | FileCheck %s
3 ;;; Test trailing one of vm intrinsic instructions
6 ;;; We test TOVM*ml instruction.
8 ; Function Attrs: nounwind readnone
9 define fastcc i64 @tovm_sml(<256 x i1> %0) {
10 ; CHECK-LABEL: tovm_sml:
12 ; CHECK-NEXT: lea %s0, 256
14 ; CHECK-NEXT: tovm %s0, %vm1
15 ; CHECK-NEXT: b.l.t (, %s10)
16 %2 = tail call i64 @llvm.ve.vl.tovm.sml(<256 x i1> %0, i32 256)
20 ; Function Attrs: nounwind readnone
21 declare i64 @llvm.ve.vl.tovm.sml(<256 x i1>, i32)