1 ; RUN: llc < %s -mtriple=ve -mattr=+vpu | FileCheck %s
3 ;;; Test vector compress intrinsic instructions
6 ;;; We test VCP*vml_v instruction.
8 ; Function Attrs: nounwind readnone
9 define fastcc <256 x double> @vcp_vvmvl(<256 x double> %0, <256 x i1> %1, <256 x double> %2) {
10 ; CHECK-LABEL: vcp_vvmvl:
12 ; CHECK-NEXT: lea %s0, 128
14 ; CHECK-NEXT: vcp %v1, %v0, %vm1
15 ; CHECK-NEXT: lea %s16, 256
16 ; CHECK-NEXT: lvl %s16
17 ; CHECK-NEXT: vor %v0, (0)1, %v1
18 ; CHECK-NEXT: b.l.t (, %s10)
19 %4 = tail call fast <256 x double> @llvm.ve.vl.vcp.vvmvl(<256 x double> %0, <256 x i1> %1, <256 x double> %2, i32 128)
23 ; Function Attrs: nounwind readnone
24 declare <256 x double> @llvm.ve.vl.vcp.vvmvl(<256 x double>, <256 x i1>, <256 x double>, i32)