[llvm] r210901 - Fix bad copy-and-paste from r210652. AVX512 masked leading zero intrinsics.

Cameron McInally cameron.mcinally at nyu.edu
Fri Jun 13 06:20:01 PDT 2014


Author: mcinally
Date: Fri Jun 13 08:20:01 2014
New Revision: 210901

URL: http://llvm.org/viewvc/llvm-project?rev=210901&view=rev
Log:
Fix bad copy-and-paste from r210652. AVX512 masked leading zero intrinsics.

Modified:
    llvm/trunk/test/CodeGen/X86/avx512-intrinsics.ll

Modified: llvm/trunk/test/CodeGen/X86/avx512-intrinsics.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/avx512-intrinsics.ll?rev=210901&r1=210900&r2=210901&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/avx512-intrinsics.ll (original)
+++ llvm/trunk/test/CodeGen/X86/avx512-intrinsics.ll Fri Jun 13 08:20:01 2014
@@ -344,9 +344,9 @@ define <8 x i64> @test_lzcnt_q(<8 x i64>
 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
 }
 





More information about the llvm-commits mailing list