From c8c6e33610b38d6325c79de469282186181394db Mon Sep 17 00:00:00 2001 From: Cameron McInally Date: Fri, 13 Jun 2014 13:20:01 +0000 Subject: [PATCH] Fix bad copy-and-paste from r210652. AVX512 masked leading zero intrinsics. llvm-svn: 210901 --- test/CodeGen/X86/avx512-intrinsics.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/X86/avx512-intrinsics.ll b/test/CodeGen/X86/avx512-intrinsics.ll index 608283f81bf..349ca2eed79 100644 --- a/test/CodeGen/X86/avx512-intrinsics.ll +++ b/test/CodeGen/X86/avx512-intrinsics.ll @@ -344,9 +344,9 @@ define <8 x i64> @test_lzcnt_q(<8 x i64> %a) { declare <8 x i64> @llvm.x86.avx512.mask.lzcnt.q.512(<8 x i64>, <8 x i64>, i8) nounwind readonly -define <16 x i32> @test_maskz_lzcnt_d(<16 x i32> %a, i16 %mask) { +define <16 x i32> @test_mask_lzcnt_d(<16 x i32> %a, <16 x i32> %b, i16 %mask) { ; CHECK: vplzcntd - %res = call <16 x i32> @llvm.x86.avx512.mask.lzcnt.d.512(<16 x i32> %a, <16 x i32> zeroinitializer, i16 %mask) + %res = call <16 x i32> @llvm.x86.avx512.mask.lzcnt.d.512(<16 x i32> %a, <16 x i32> %b, i16 %mask) ret <16 x i32> %res }