[SystemZ] Fix VPDI argument in test.

To select element 1 from each half with VPDI, a constant of 5 should be used.

llvm-svn: 325897
This commit is contained in:
Jonas Paulsson 2018-02-23 13:20:57 +00:00
parent 17f01c394b
commit abc29dfa79
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ define <2 x i64> @test_vpdi2(<2 x i64> %a, <2 x i64> %b) {
; CHECK-LABEL: test_vpdi2: ; CHECK-LABEL: test_vpdi2:
; CHECK: vpdi %v24, %v24, %v26, 10 ; CHECK: vpdi %v24, %v24, %v26, 10
; CHECK: br %r14 ; CHECK: br %r14
%res = call <2 x i64> @llvm.s390.vpdi(<2 x i64> %a, <2 x i64> %b, i32 10) %res = call <2 x i64> @llvm.s390.vpdi(<2 x i64> %a, <2 x i64> %b, i32 5)
ret <2 x i64> %res ret <2 x i64> %res
} }