summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-02-23 13:20:57 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-02-23 13:20:57 +0000
commitabc29dfa790423030cbf00f7a7a21aa58fd6a2c1 (patch)
tree2ffd62b6aadc27e2705ad8a1e9c1f3d5c79353db /llvm/test
parent17f01c394b8f9d98eeca8289f8a242dad640ec02 (diff)
downloadbcm5719-llvm-abc29dfa790423030cbf00f7a7a21aa58fd6a2c1.tar.gz
bcm5719-llvm-abc29dfa790423030cbf00f7a7a21aa58fd6a2c1.zip
[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
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/SystemZ/vec-intrinsics-01.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/SystemZ/vec-intrinsics-01.ll b/llvm/test/CodeGen/SystemZ/vec-intrinsics-01.ll
index 8892b943709..bf6fe0357b9 100644
--- a/llvm/test/CodeGen/SystemZ/vec-intrinsics-01.ll
+++ b/llvm/test/CodeGen/SystemZ/vec-intrinsics-01.ll
@@ -336,7 +336,7 @@ define <2 x i64> @test_vpdi2(<2 x i64> %a, <2 x i64> %b) {
; CHECK-LABEL: test_vpdi2:
; CHECK: vpdi %v24, %v24, %v26, 10
; 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
}
OpenPOWER on IntegriCloud