[PATCH] D21973: [AVX512] add float/double abs intrinsics
Elena Demikhovsky via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 5 02:34:12 PDT 2016
delena accepted this revision.
This revision is now accepted and ready to land.
================
Comment at: ../tunkClang/tools/clang/test/CodeGen/avx512f-builtins.c:1413-1414
@@ -1412,3 +1412,4 @@
// CHECK-LABEL: @test_mm512_mask_and_epi32
- // CHECK: @llvm.x86.avx512.mask.pand.d.512
+ // CHECK: and <16 x i32>
+ // CHECK: select <16 x i1> %{{.*}}, <16 x i32> %{{.*}}, <16 x i32> %{{.*}}
return _mm512_mask_and_epi32(__src, __k,__a, __b);
----------------
The right thing to do here:
// CHECK: %[[MASK:.*]] = bitcast
// CHECK: %[[AND_RES:.*]] = and <16 x i32>
// CHECK: select <16 x i1> %[[MASK]], <16 x i32>%[[AND_RES]]
Up to you.
Repository:
rL LLVM
http://reviews.llvm.org/D21973
More information about the cfe-commits
mailing list