[PATCH] D21973: [AVX512] add float/double abs intrinsics
Asaf Badouh via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 5 04:36:07 PDT 2016
AsafBadouh added inline comments.
================
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);
----------------
delena wrote:
> 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.
will do,
thanks for the review!
Repository:
rL LLVM
http://reviews.llvm.org/D21973
More information about the cfe-commits
mailing list