[llvm] 664745c - [X86] avx512-vselect.ll - regenerate VPTERNLOG comments

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 1 07:50:21 PDT 2025


Author: Simon Pilgrim
Date: 2025-04-01T15:50:07+01:00
New Revision: 664745cf381b4a153b16ef9e38d3e01dbb1e7d4f

URL: https://github.com/llvm/llvm-project/commit/664745cf381b4a153b16ef9e38d3e01dbb1e7d4f
DIFF: https://github.com/llvm/llvm-project/commit/664745cf381b4a153b16ef9e38d3e01dbb1e7d4f.diff

LOG: [X86] avx512-vselect.ll - regenerate VPTERNLOG comments

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/avx512-vselect.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/avx512-vselect.ll b/llvm/test/CodeGen/X86/avx512-vselect.ll
index c402e8d7b7714..aacd5d1ab0298 100644
--- a/llvm/test/CodeGen/X86/avx512-vselect.ll
+++ b/llvm/test/CodeGen/X86/avx512-vselect.ll
@@ -181,12 +181,12 @@ define <64 x i16> @test8(<64 x i8> %x, <64 x i16> %a, <64 x i16> %b) {
 ; CHECK-KNL-NEXT:    vextracti128 $1, %ymm0, %xmm0
 ; CHECK-KNL-NEXT:    vpmovsxbw %xmm0, %ymm0
 ; CHECK-KNL-NEXT:    vinserti64x4 $1, %ymm0, %zmm6, %zmm0
-; CHECK-KNL-NEXT:    vpternlogq $202, %zmm3, %zmm1, %zmm0
+; CHECK-KNL-NEXT:    vpternlogq {{.*#+}} zmm0 = zmm3 ^ (zmm0 & (zmm1 ^ zmm3))
 ; CHECK-KNL-NEXT:    vpmovsxbw %xmm5, %ymm1
 ; CHECK-KNL-NEXT:    vextracti128 $1, %ymm5, %xmm3
 ; CHECK-KNL-NEXT:    vpmovsxbw %xmm3, %ymm3
 ; CHECK-KNL-NEXT:    vinserti64x4 $1, %ymm3, %zmm1, %zmm1
-; CHECK-KNL-NEXT:    vpternlogq $202, %zmm4, %zmm2, %zmm1
+; CHECK-KNL-NEXT:    vpternlogq {{.*#+}} zmm1 = zmm4 ^ (zmm1 & (zmm2 ^ zmm4))
 ; CHECK-KNL-NEXT:    retq
   %c = icmp eq <64 x i8> %x, zeroinitializer
   %ret = select <64 x i1> %c, <64 x i16> %a, <64 x i16> %b


        


More information about the llvm-commits mailing list