Skip to content

Commit 7895343

Browse files
committed
[X86] vector popcnt tests - regenerate VPTERNLOG comments
1 parent 0249554 commit 7895343

File tree

6 files changed

+848
-848
lines changed

6 files changed

+848
-848
lines changed

llvm/test/CodeGen/X86/vector-popcnt-128-ult-ugt.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ define <16 x i8> @ugt_1_v16i8(<16 x i8> %0) {
5050
; AVX512VPOPCNTDQ-NEXT: vpand %xmm1, %xmm0, %xmm0
5151
; AVX512VPOPCNTDQ-NEXT: vpxor %xmm1, %xmm1, %xmm1
5252
; AVX512VPOPCNTDQ-NEXT: vpcmpeqb %xmm1, %xmm0, %xmm0
53-
; AVX512VPOPCNTDQ-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
53+
; AVX512VPOPCNTDQ-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
5454
; AVX512VPOPCNTDQ-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
5555
; AVX512VPOPCNTDQ-NEXT: vzeroupper
5656
; AVX512VPOPCNTDQ-NEXT: retq
@@ -62,7 +62,7 @@ define <16 x i8> @ugt_1_v16i8(<16 x i8> %0) {
6262
; AVX512VPOPCNTDQVL-NEXT: vpand %xmm1, %xmm0, %xmm0
6363
; AVX512VPOPCNTDQVL-NEXT: vpxor %xmm1, %xmm1, %xmm1
6464
; AVX512VPOPCNTDQVL-NEXT: vpcmpeqb %xmm1, %xmm0, %xmm0
65-
; AVX512VPOPCNTDQVL-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
65+
; AVX512VPOPCNTDQVL-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
6666
; AVX512VPOPCNTDQVL-NEXT: retq
6767
;
6868
; BITALG_NOVLX-LABEL: ugt_1_v16i8:
@@ -1543,7 +1543,7 @@ define <8 x i16> @ugt_1_v8i16(<8 x i16> %0) {
15431543
; AVX512VPOPCNTDQ-NEXT: vpand %xmm1, %xmm0, %xmm0
15441544
; AVX512VPOPCNTDQ-NEXT: vpxor %xmm1, %xmm1, %xmm1
15451545
; AVX512VPOPCNTDQ-NEXT: vpcmpeqw %xmm1, %xmm0, %xmm0
1546-
; AVX512VPOPCNTDQ-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
1546+
; AVX512VPOPCNTDQ-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
15471547
; AVX512VPOPCNTDQ-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
15481548
; AVX512VPOPCNTDQ-NEXT: vzeroupper
15491549
; AVX512VPOPCNTDQ-NEXT: retq
@@ -1555,7 +1555,7 @@ define <8 x i16> @ugt_1_v8i16(<8 x i16> %0) {
15551555
; AVX512VPOPCNTDQVL-NEXT: vpand %xmm1, %xmm0, %xmm0
15561556
; AVX512VPOPCNTDQVL-NEXT: vpxor %xmm1, %xmm1, %xmm1
15571557
; AVX512VPOPCNTDQVL-NEXT: vpcmpeqw %xmm1, %xmm0, %xmm0
1558-
; AVX512VPOPCNTDQVL-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
1558+
; AVX512VPOPCNTDQVL-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
15591559
; AVX512VPOPCNTDQVL-NEXT: retq
15601560
;
15611561
; BITALG_NOVLX-LABEL: ugt_1_v8i16:
@@ -5806,7 +5806,7 @@ define <4 x i32> @ugt_1_v4i32(<4 x i32> %0) {
58065806
; BITALG_NOVLX-NEXT: vpand %xmm1, %xmm0, %xmm0
58075807
; BITALG_NOVLX-NEXT: vpxor %xmm1, %xmm1, %xmm1
58085808
; BITALG_NOVLX-NEXT: vpcmpeqd %xmm1, %xmm0, %xmm0
5809-
; BITALG_NOVLX-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
5809+
; BITALG_NOVLX-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
58105810
; BITALG_NOVLX-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
58115811
; BITALG_NOVLX-NEXT: vzeroupper
58125812
; BITALG_NOVLX-NEXT: retq
@@ -5818,7 +5818,7 @@ define <4 x i32> @ugt_1_v4i32(<4 x i32> %0) {
58185818
; BITALG-NEXT: vpand %xmm1, %xmm0, %xmm0
58195819
; BITALG-NEXT: vpxor %xmm1, %xmm1, %xmm1
58205820
; BITALG-NEXT: vpcmpeqd %xmm1, %xmm0, %xmm0
5821-
; BITALG-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
5821+
; BITALG-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
58225822
; BITALG-NEXT: retq
58235823
%2 = tail call <4 x i32> @llvm.ctpop.v4i32(<4 x i32> %0)
58245824
%3 = icmp ugt <4 x i32> %2, <i32 1, i32 1, i32 1, i32 1>
@@ -16832,7 +16832,7 @@ define <2 x i64> @ugt_1_v2i64(<2 x i64> %0) {
1683216832
; BITALG_NOVLX-NEXT: vpand %xmm1, %xmm0, %xmm0
1683316833
; BITALG_NOVLX-NEXT: vpxor %xmm1, %xmm1, %xmm1
1683416834
; BITALG_NOVLX-NEXT: vpcmpeqq %xmm1, %xmm0, %xmm0
16835-
; BITALG_NOVLX-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
16835+
; BITALG_NOVLX-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
1683616836
; BITALG_NOVLX-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
1683716837
; BITALG_NOVLX-NEXT: vzeroupper
1683816838
; BITALG_NOVLX-NEXT: retq
@@ -16844,7 +16844,7 @@ define <2 x i64> @ugt_1_v2i64(<2 x i64> %0) {
1684416844
; BITALG-NEXT: vpand %xmm1, %xmm0, %xmm0
1684516845
; BITALG-NEXT: vpxor %xmm1, %xmm1, %xmm1
1684616846
; BITALG-NEXT: vpcmpeqq %xmm1, %xmm0, %xmm0
16847-
; BITALG-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
16847+
; BITALG-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
1684816848
; BITALG-NEXT: retq
1684916849
%2 = tail call <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %0)
1685016850
%3 = icmp ugt <2 x i64> %2, <i64 1, i64 1>

llvm/test/CodeGen/X86/vector-popcnt-128.ll

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ define <2 x i64> @eq_1_v2i64(<2 x i64> %0) {
775775
; BITALG_NOVLX-NEXT: vpxor %xmm1, %xmm0, %xmm0
776776
; BITALG_NOVLX-NEXT: vpminuq %zmm1, %zmm0, %zmm1
777777
; BITALG_NOVLX-NEXT: vpcmpeqq %xmm1, %xmm0, %xmm0
778-
; BITALG_NOVLX-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
778+
; BITALG_NOVLX-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
779779
; BITALG_NOVLX-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
780780
; BITALG_NOVLX-NEXT: vzeroupper
781781
; BITALG_NOVLX-NEXT: retq
@@ -787,7 +787,7 @@ define <2 x i64> @eq_1_v2i64(<2 x i64> %0) {
787787
; BITALG-NEXT: vpxor %xmm1, %xmm0, %xmm0
788788
; BITALG-NEXT: vpminuq %xmm1, %xmm0, %xmm1
789789
; BITALG-NEXT: vpcmpeqq %xmm1, %xmm0, %xmm0
790-
; BITALG-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
790+
; BITALG-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
791791
; BITALG-NEXT: retq
792792
%2 = tail call <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %0)
793793
%3 = icmp eq <2 x i64> %2, <i64 1, i64 1>
@@ -837,7 +837,7 @@ define <2 x i64> @ne_1_v2i64(<2 x i64> %0) {
837837
; AVX512VPOPCNTDQ-NEXT: # kill: def $xmm0 killed $xmm0 def $zmm0
838838
; AVX512VPOPCNTDQ-NEXT: vpopcntq %zmm0, %zmm0
839839
; AVX512VPOPCNTDQ-NEXT: vpcmpeqq {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0, %xmm0
840-
; AVX512VPOPCNTDQ-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
840+
; AVX512VPOPCNTDQ-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
841841
; AVX512VPOPCNTDQ-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
842842
; AVX512VPOPCNTDQ-NEXT: vzeroupper
843843
; AVX512VPOPCNTDQ-NEXT: retq
@@ -847,7 +847,7 @@ define <2 x i64> @ne_1_v2i64(<2 x i64> %0) {
847847
; AVX512VPOPCNTDQVL-NEXT: vpopcntq %xmm0, %xmm0
848848
; AVX512VPOPCNTDQVL-NEXT: vpbroadcastq {{.*#+}} xmm1 = [1,1]
849849
; AVX512VPOPCNTDQVL-NEXT: vpcmpeqq %xmm1, %xmm0, %xmm0
850-
; AVX512VPOPCNTDQVL-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
850+
; AVX512VPOPCNTDQVL-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
851851
; AVX512VPOPCNTDQVL-NEXT: retq
852852
;
853853
; BITALG_NOVLX-LABEL: ne_1_v2i64:
@@ -954,7 +954,7 @@ define <4 x i32> @eq_1_v4i32(<4 x i32> %0) {
954954
; BITALG_NOVLX-NEXT: vpxor %xmm1, %xmm0, %xmm0
955955
; BITALG_NOVLX-NEXT: vpminud %xmm1, %xmm0, %xmm1
956956
; BITALG_NOVLX-NEXT: vpcmpeqd %xmm1, %xmm0, %xmm0
957-
; BITALG_NOVLX-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
957+
; BITALG_NOVLX-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
958958
; BITALG_NOVLX-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
959959
; BITALG_NOVLX-NEXT: vzeroupper
960960
; BITALG_NOVLX-NEXT: retq
@@ -966,7 +966,7 @@ define <4 x i32> @eq_1_v4i32(<4 x i32> %0) {
966966
; BITALG-NEXT: vpxor %xmm1, %xmm0, %xmm0
967967
; BITALG-NEXT: vpminud %xmm1, %xmm0, %xmm1
968968
; BITALG-NEXT: vpcmpeqd %xmm1, %xmm0, %xmm0
969-
; BITALG-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
969+
; BITALG-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
970970
; BITALG-NEXT: retq
971971
%2 = tail call <4 x i32> @llvm.ctpop.v4i32(<4 x i32> %0)
972972
%3 = icmp eq <4 x i32> %2, <i32 1, i32 1, i32 1, i32 1>
@@ -1040,7 +1040,7 @@ define <4 x i32> @ne_1_v4i32(<4 x i32> %0) {
10401040
; AVX512VPOPCNTDQ-NEXT: vpopcntd %zmm0, %zmm0
10411041
; AVX512VPOPCNTDQ-NEXT: vpbroadcastd {{.*#+}} xmm1 = [1,1,1,1]
10421042
; AVX512VPOPCNTDQ-NEXT: vpcmpeqd %xmm1, %xmm0, %xmm0
1043-
; AVX512VPOPCNTDQ-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
1043+
; AVX512VPOPCNTDQ-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
10441044
; AVX512VPOPCNTDQ-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
10451045
; AVX512VPOPCNTDQ-NEXT: vzeroupper
10461046
; AVX512VPOPCNTDQ-NEXT: retq
@@ -1050,7 +1050,7 @@ define <4 x i32> @ne_1_v4i32(<4 x i32> %0) {
10501050
; AVX512VPOPCNTDQVL-NEXT: vpopcntd %xmm0, %xmm0
10511051
; AVX512VPOPCNTDQVL-NEXT: vpbroadcastd {{.*#+}} xmm1 = [1,1,1,1]
10521052
; AVX512VPOPCNTDQVL-NEXT: vpcmpeqd %xmm1, %xmm0, %xmm0
1053-
; AVX512VPOPCNTDQVL-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
1053+
; AVX512VPOPCNTDQVL-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
10541054
; AVX512VPOPCNTDQVL-NEXT: retq
10551055
;
10561056
; BITALG_NOVLX-LABEL: ne_1_v4i32:
@@ -1140,7 +1140,7 @@ define <8 x i16> @eq_1_v8i16(<8 x i16> %0) {
11401140
; AVX512VPOPCNTDQ-NEXT: vpxor %xmm1, %xmm0, %xmm0
11411141
; AVX512VPOPCNTDQ-NEXT: vpminuw %xmm1, %xmm0, %xmm1
11421142
; AVX512VPOPCNTDQ-NEXT: vpcmpeqw %xmm1, %xmm0, %xmm0
1143-
; AVX512VPOPCNTDQ-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
1143+
; AVX512VPOPCNTDQ-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
11441144
; AVX512VPOPCNTDQ-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
11451145
; AVX512VPOPCNTDQ-NEXT: vzeroupper
11461146
; AVX512VPOPCNTDQ-NEXT: retq
@@ -1152,7 +1152,7 @@ define <8 x i16> @eq_1_v8i16(<8 x i16> %0) {
11521152
; AVX512VPOPCNTDQVL-NEXT: vpxor %xmm1, %xmm0, %xmm0
11531153
; AVX512VPOPCNTDQVL-NEXT: vpminuw %xmm1, %xmm0, %xmm1
11541154
; AVX512VPOPCNTDQVL-NEXT: vpcmpeqw %xmm1, %xmm0, %xmm0
1155-
; AVX512VPOPCNTDQVL-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
1155+
; AVX512VPOPCNTDQVL-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
11561156
; AVX512VPOPCNTDQVL-NEXT: retq
11571157
;
11581158
; BITALG_NOVLX-LABEL: eq_1_v8i16:
@@ -1245,7 +1245,7 @@ define <8 x i16> @ne_1_v8i16(<8 x i16> %0) {
12451245
; BITALG_NOVLX-NEXT: # kill: def $xmm0 killed $xmm0 def $zmm0
12461246
; BITALG_NOVLX-NEXT: vpopcntw %zmm0, %zmm0
12471247
; BITALG_NOVLX-NEXT: vpcmpeqw {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0, %xmm0
1248-
; BITALG_NOVLX-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
1248+
; BITALG_NOVLX-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
12491249
; BITALG_NOVLX-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
12501250
; BITALG_NOVLX-NEXT: vzeroupper
12511251
; BITALG_NOVLX-NEXT: retq
@@ -1254,7 +1254,7 @@ define <8 x i16> @ne_1_v8i16(<8 x i16> %0) {
12541254
; BITALG: # %bb.0:
12551255
; BITALG-NEXT: vpopcntw %xmm0, %xmm0
12561256
; BITALG-NEXT: vpcmpeqw {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0, %xmm0
1257-
; BITALG-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
1257+
; BITALG-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
12581258
; BITALG-NEXT: retq
12591259
%2 = tail call <8 x i16> @llvm.ctpop.v8i16(<8 x i16> %0)
12601260
%3 = icmp ne <8 x i16> %2, <i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1>
@@ -1299,7 +1299,7 @@ define <16 x i8> @eq_1_v16i8(<16 x i8> %0) {
12991299
; AVX512VPOPCNTDQ-NEXT: vpxor %xmm1, %xmm0, %xmm0
13001300
; AVX512VPOPCNTDQ-NEXT: vpminub %xmm1, %xmm0, %xmm1
13011301
; AVX512VPOPCNTDQ-NEXT: vpcmpeqb %xmm1, %xmm0, %xmm0
1302-
; AVX512VPOPCNTDQ-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
1302+
; AVX512VPOPCNTDQ-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
13031303
; AVX512VPOPCNTDQ-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
13041304
; AVX512VPOPCNTDQ-NEXT: vzeroupper
13051305
; AVX512VPOPCNTDQ-NEXT: retq
@@ -1311,7 +1311,7 @@ define <16 x i8> @eq_1_v16i8(<16 x i8> %0) {
13111311
; AVX512VPOPCNTDQVL-NEXT: vpxor %xmm1, %xmm0, %xmm0
13121312
; AVX512VPOPCNTDQVL-NEXT: vpminub %xmm1, %xmm0, %xmm1
13131313
; AVX512VPOPCNTDQVL-NEXT: vpcmpeqb %xmm1, %xmm0, %xmm0
1314-
; AVX512VPOPCNTDQVL-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
1314+
; AVX512VPOPCNTDQVL-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
13151315
; AVX512VPOPCNTDQVL-NEXT: retq
13161316
;
13171317
; BITALG_NOVLX-LABEL: eq_1_v16i8:
@@ -1374,7 +1374,7 @@ define <16 x i8> @ne_1_v16i8(<16 x i8> %0) {
13741374
; BITALG_NOVLX-NEXT: # kill: def $xmm0 killed $xmm0 def $zmm0
13751375
; BITALG_NOVLX-NEXT: vpopcntb %zmm0, %zmm0
13761376
; BITALG_NOVLX-NEXT: vpcmpeqb {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0, %xmm0
1377-
; BITALG_NOVLX-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
1377+
; BITALG_NOVLX-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
13781378
; BITALG_NOVLX-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
13791379
; BITALG_NOVLX-NEXT: vzeroupper
13801380
; BITALG_NOVLX-NEXT: retq
@@ -1383,7 +1383,7 @@ define <16 x i8> @ne_1_v16i8(<16 x i8> %0) {
13831383
; BITALG: # %bb.0:
13841384
; BITALG-NEXT: vpopcntb %xmm0, %xmm0
13851385
; BITALG-NEXT: vpcmpeqb {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0, %xmm0
1386-
; BITALG-NEXT: vpternlogq $15, %xmm0, %xmm0, %xmm0
1386+
; BITALG-NEXT: vpternlogq {{.*#+}} xmm0 = ~xmm0
13871387
; BITALG-NEXT: retq
13881388
%2 = tail call <16 x i8> @llvm.ctpop.v16i8(<16 x i8> %0)
13891389
%3 = icmp ne <16 x i8> %2, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>

llvm/test/CodeGen/X86/vector-popcnt-256-ult-ugt.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ define <32 x i8> @ugt_1_v32i8(<32 x i8> %0) {
4141
; AVX512VPOPCNTDQ-NEXT: vpand %ymm1, %ymm0, %ymm0
4242
; AVX512VPOPCNTDQ-NEXT: vpxor %xmm1, %xmm1, %xmm1
4343
; AVX512VPOPCNTDQ-NEXT: vpcmpeqb %ymm1, %ymm0, %ymm0
44-
; AVX512VPOPCNTDQ-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
44+
; AVX512VPOPCNTDQ-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
4545
; AVX512VPOPCNTDQ-NEXT: # kill: def $ymm0 killed $ymm0 killed $zmm0
4646
; AVX512VPOPCNTDQ-NEXT: retq
4747
;
@@ -52,7 +52,7 @@ define <32 x i8> @ugt_1_v32i8(<32 x i8> %0) {
5252
; AVX512VPOPCNTDQVL-NEXT: vpand %ymm1, %ymm0, %ymm0
5353
; AVX512VPOPCNTDQVL-NEXT: vpxor %xmm1, %xmm1, %xmm1
5454
; AVX512VPOPCNTDQVL-NEXT: vpcmpeqb %ymm1, %ymm0, %ymm0
55-
; AVX512VPOPCNTDQVL-NEXT: vpternlogq $15, %ymm0, %ymm0, %ymm0
55+
; AVX512VPOPCNTDQVL-NEXT: vpternlogq {{.*#+}} ymm0 = ~ymm0
5656
; AVX512VPOPCNTDQVL-NEXT: retq
5757
;
5858
; BITALG_NOVLX-LABEL: ugt_1_v32i8:
@@ -1034,7 +1034,7 @@ define <16 x i16> @ugt_1_v16i16(<16 x i16> %0) {
10341034
; AVX512VPOPCNTDQ-NEXT: vpand %ymm1, %ymm0, %ymm0
10351035
; AVX512VPOPCNTDQ-NEXT: vpxor %xmm1, %xmm1, %xmm1
10361036
; AVX512VPOPCNTDQ-NEXT: vpcmpeqw %ymm1, %ymm0, %ymm0
1037-
; AVX512VPOPCNTDQ-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
1037+
; AVX512VPOPCNTDQ-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
10381038
; AVX512VPOPCNTDQ-NEXT: # kill: def $ymm0 killed $ymm0 killed $zmm0
10391039
; AVX512VPOPCNTDQ-NEXT: retq
10401040
;
@@ -1045,7 +1045,7 @@ define <16 x i16> @ugt_1_v16i16(<16 x i16> %0) {
10451045
; AVX512VPOPCNTDQVL-NEXT: vpand %ymm1, %ymm0, %ymm0
10461046
; AVX512VPOPCNTDQVL-NEXT: vpxor %xmm1, %xmm1, %xmm1
10471047
; AVX512VPOPCNTDQVL-NEXT: vpcmpeqw %ymm1, %ymm0, %ymm0
1048-
; AVX512VPOPCNTDQVL-NEXT: vpternlogq $15, %ymm0, %ymm0, %ymm0
1048+
; AVX512VPOPCNTDQVL-NEXT: vpternlogq {{.*#+}} ymm0 = ~ymm0
10491049
; AVX512VPOPCNTDQVL-NEXT: retq
10501050
;
10511051
; BITALG_NOVLX-LABEL: ugt_1_v16i16:
@@ -3348,7 +3348,7 @@ define <8 x i32> @ugt_1_v8i32(<8 x i32> %0) {
33483348
; BITALG_NOVLX-NEXT: vpand %ymm1, %ymm0, %ymm0
33493349
; BITALG_NOVLX-NEXT: vpxor %xmm1, %xmm1, %xmm1
33503350
; BITALG_NOVLX-NEXT: vpcmpeqd %ymm1, %ymm0, %ymm0
3351-
; BITALG_NOVLX-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
3351+
; BITALG_NOVLX-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
33523352
; BITALG_NOVLX-NEXT: # kill: def $ymm0 killed $ymm0 killed $zmm0
33533353
; BITALG_NOVLX-NEXT: retq
33543354
;
@@ -3359,7 +3359,7 @@ define <8 x i32> @ugt_1_v8i32(<8 x i32> %0) {
33593359
; BITALG-NEXT: vpand %ymm1, %ymm0, %ymm0
33603360
; BITALG-NEXT: vpxor %xmm1, %xmm1, %xmm1
33613361
; BITALG-NEXT: vpcmpeqd %ymm1, %ymm0, %ymm0
3362-
; BITALG-NEXT: vpternlogq $15, %ymm0, %ymm0, %ymm0
3362+
; BITALG-NEXT: vpternlogq {{.*#+}} ymm0 = ~ymm0
33633363
; BITALG-NEXT: retq
33643364
%2 = tail call <8 x i32> @llvm.ctpop.v8i32(<8 x i32> %0)
33653365
%3 = icmp ugt <8 x i32> %2, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
@@ -9423,7 +9423,7 @@ define <4 x i64> @ugt_1_v4i64(<4 x i64> %0) {
94239423
; BITALG_NOVLX-NEXT: vpand %ymm1, %ymm0, %ymm0
94249424
; BITALG_NOVLX-NEXT: vpxor %xmm1, %xmm1, %xmm1
94259425
; BITALG_NOVLX-NEXT: vpcmpeqq %ymm1, %ymm0, %ymm0
9426-
; BITALG_NOVLX-NEXT: vpternlogq $15, %zmm0, %zmm0, %zmm0
9426+
; BITALG_NOVLX-NEXT: vpternlogq {{.*#+}} zmm0 = ~zmm0
94279427
; BITALG_NOVLX-NEXT: # kill: def $ymm0 killed $ymm0 killed $zmm0
94289428
; BITALG_NOVLX-NEXT: retq
94299429
;
@@ -9434,7 +9434,7 @@ define <4 x i64> @ugt_1_v4i64(<4 x i64> %0) {
94349434
; BITALG-NEXT: vpand %ymm1, %ymm0, %ymm0
94359435
; BITALG-NEXT: vpxor %xmm1, %xmm1, %xmm1
94369436
; BITALG-NEXT: vpcmpeqq %ymm1, %ymm0, %ymm0
9437-
; BITALG-NEXT: vpternlogq $15, %ymm0, %ymm0, %ymm0
9437+
; BITALG-NEXT: vpternlogq {{.*#+}} ymm0 = ~ymm0
94389438
; BITALG-NEXT: retq
94399439
%2 = tail call <4 x i64> @llvm.ctpop.v4i64(<4 x i64> %0)
94409440
%3 = icmp ugt <4 x i64> %2, <i64 1, i64 1, i64 1, i64 1>

0 commit comments

Comments
 (0)