[llvm] 94eb975 - [X86] shuffle-vs-trunc-256.ll - regenerate test checks with vpternlog comments

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 07:23:12 PDT 2024


Author: Simon Pilgrim
Date: 2024-10-15T15:23:02+01:00
New Revision: 94eb97550a7d1ab081b1484f1d3cdb12abe2d5a6

URL: https://github.com/llvm/llvm-project/commit/94eb97550a7d1ab081b1484f1d3cdb12abe2d5a6
DIFF: https://github.com/llvm/llvm-project/commit/94eb97550a7d1ab081b1484f1d3cdb12abe2d5a6.diff

LOG: [X86] shuffle-vs-trunc-256.ll - regenerate test checks with vpternlog comments

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll b/llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll
index a80f38089c4014..84ae818d91832c 100644
--- a/llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll
+++ b/llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll
@@ -1335,7 +1335,7 @@ define <16 x i8> @negative(<32 x i8> %v, <32 x i8> %w) nounwind {
 ; AVX512VL-NEXT:    vpshufb {{.*#+}} ymm0 = zero,ymm0[2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30]
 ; AVX512VL-NEXT:    vbroadcasti128 {{.*#+}} ymm2 = [0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
 ; AVX512VL-NEXT:    # ymm2 = mem[0,1,0,1]
-; AVX512VL-NEXT:    vpternlogq $206, %ymm1, %ymm0, %ymm2
+; AVX512VL-NEXT:    vpternlogq {{.*#+}} ymm2 = (ymm1 & ~ymm2) | ymm0
 ; AVX512VL-NEXT:    vpermq {{.*#+}} ymm0 = ymm2[0,3,2,3]
 ; AVX512VL-NEXT:    # kill: def $xmm0 killed $xmm0 killed $ymm0
 ; AVX512VL-NEXT:    vzeroupper


        


More information about the llvm-commits mailing list