[llvm] r325897 - [SystemZ] Fix VPDI argument in test.
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 23 05:20:57 PST 2018
Author: jonpa
Date: Fri Feb 23 05:20:57 2018
New Revision: 325897
URL: http://llvm.org/viewvc/llvm-project?rev=325897&view=rev
Log:
[SystemZ] Fix VPDI argument in test.
To select element 1 from each half with VPDI, a constant of 5 should be used.
Modified:
llvm/trunk/test/CodeGen/SystemZ/vec-intrinsics-01.ll
Modified: llvm/trunk/test/CodeGen/SystemZ/vec-intrinsics-01.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SystemZ/vec-intrinsics-01.ll?rev=325897&r1=325896&r2=325897&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SystemZ/vec-intrinsics-01.ll (original)
+++ llvm/trunk/test/CodeGen/SystemZ/vec-intrinsics-01.ll Fri Feb 23 05:20:57 2018
@@ -336,7 +336,7 @@ define <2 x i64> @test_vpdi2(<2 x i64> %
; 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
}
More information about the llvm-commits
mailing list