From 6c7d4481f90e659b462fb1d2d0508e0ed8af301d Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 12 Dec 2017 21:44:04 +0000 Subject: [PATCH] [Hexagon] Relax some checks in testcases, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320529 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../Hexagon/autohvx/shuff-combos-128b.ll | 106 +++++++++--------- .../Hexagon/autohvx/shuff-combos-64b.ll | 84 +++++++------- 2 files changed, 95 insertions(+), 95 deletions(-) diff --git a/test/CodeGen/Hexagon/autohvx/shuff-combos-128b.ll b/test/CodeGen/Hexagon/autohvx/shuff-combos-128b.ll index 2bf503fbe1dc1..fdaf7eb243085 100644 --- a/test/CodeGen/Hexagon/autohvx/shuff-combos-128b.ll +++ b/test/CodeGen/Hexagon/autohvx/shuff-combos-128b.ll @@ -5,9 +5,9 @@ ; CHECK-DAG: [[R00:r[0-9]+]] = #66 ; CHECK-DAG: [[R01:r[0-9]+]] = #46 ; CHECK-DAG: [[R02:r[0-9]+]] = #1 -; CHECK: v[[H0:[0-9]+]]:[[L0:[0-9]+]] = vshuff(v1,v0,[[R00]]) -; CHECK: v[[H0]]:[[L0]] = vshuff(v[[H0]],v[[L0]],[[R01]]) -; CHECK: v[[H0]]:[[L0]] = vshuff(v[[H0]],v[[L0]],[[R02]]) +; CHECK: v[[H00:[0-9]+]]:[[L00:[0-9]+]] = vshuff(v1,v0,[[R00]]) +; CHECK: v[[H01:[0-9]+]]:[[L01:[0-9]+]] = vshuff(v[[H00]],v[[L00]],[[R01]]) +; CHECK: v[[H02:[0-9]+]]:[[L02:[0-9]+]] = vshuff(v[[H01]],v[[L01]],[[R02]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0000(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -20,10 +20,10 @@ define <256 x i8> @test_0000(<256 x i8> %v0) #0 { ; CHECK-DAG: [[R11:r[0-9]+]] = #9 ; CHECK-DAG: [[R12:r[0-9]+]] = #68 ; CHECK-DAG: [[R13:r[0-9]+]] = #34 -; CHECK: v[[H1:[0-9]+]]:[[L1:[0-9]+]] = vshuff(v1,v0,[[R10]]) -; CHECK: v[[H1]]:[[L1]] = vdeal(v[[H1]],v[[L1]],[[R11]]) -; CHECK: v[[H1]]:[[L1]] = vdeal(v[[H1]],v[[L1]],[[R12]]) -; CHECK: v[[H1]]:[[L1]] = vdeal(v[[H1]],v[[L1]],[[R13]]) +; CHECK: v[[H10:[0-9]+]]:[[L10:[0-9]+]] = vshuff(v1,v0,[[R10]]) +; CHECK: v[[H11:[0-9]+]]:[[L11:[0-9]+]] = vdeal(v[[H10]],v[[L10]],[[R11]]) +; CHECK: v[[H12:[0-9]+]]:[[L12:[0-9]+]] = vdeal(v[[H11]],v[[L11]],[[R12]]) +; CHECK: v[[H13:[0-9]+]]:[[L13:[0-9]+]] = vdeal(v[[H12]],v[[L12]],[[R13]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0001(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -36,10 +36,10 @@ define <256 x i8> @test_0001(<256 x i8> %v0) #0 { ; CHECK-DAG: [[R21:r[0-9]+]] = #10 ; CHECK-DAG: [[R22:r[0-9]+]] = #68 ; CHECK-DAG: [[R23:r[0-9]+]] = #5 -; CHECK: v[[H2:[0-9]+]]:[[L2:[0-9]+]] = vshuff(v1,v0,[[R20]]) -; CHECK: v[[H2]]:[[L2]] = vdeal(v[[H2]],v[[L2]],[[R21]]) -; CHECK: v[[H2]]:[[L2]] = vshuff(v[[H2]],v[[L2]],[[R22]]) -; CHECK: v[[H2]]:[[L2]] = vdeal(v[[H2]],v[[L2]],[[R23]]) +; CHECK: v[[H20:[0-9]+]]:[[L20:[0-9]+]] = vshuff(v1,v0,[[R20]]) +; CHECK: v[[H21:[0-9]+]]:[[L21:[0-9]+]] = vdeal(v[[H20]],v[[L20]],[[R21]]) +; CHECK: v[[H22:[0-9]+]]:[[L22:[0-9]+]] = vshuff(v[[H21]],v[[L21]],[[R22]]) +; CHECK: v[[H23:[0-9]+]]:[[L23:[0-9]+]] = vdeal(v[[H22]],v[[L22]],[[R23]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0002(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -52,10 +52,10 @@ define <256 x i8> @test_0002(<256 x i8> %v0) #0 { ; CHECK-DAG: [[R31:r[0-9]+]] = #9 ; CHECK-DAG: [[R32:r[0-9]+]] = #34 ; CHECK-DAG: [[R33:r[0-9]+]] = #66 -; CHECK: v[[H3:[0-9]+]]:[[L3:[0-9]+]] = vshuff(v1,v0,[[R30]]) -; CHECK: v[[H3]]:[[L3]] = vdeal(v[[H3]],v[[L3]],[[R31]]) -; CHECK: v[[H3]]:[[L3]] = vshuff(v[[H3]],v[[L3]],[[R32]]) -; CHECK: v[[H3]]:[[L3]] = vshuff(v[[H3]],v[[L3]],[[R33]]) +; CHECK: v[[H30:[0-9]+]]:[[L30:[0-9]+]] = vshuff(v1,v0,[[R30]]) +; CHECK: v[[H31:[0-9]+]]:[[L31:[0-9]+]] = vdeal(v[[H30]],v[[L30]],[[R31]]) +; CHECK: v[[H32:[0-9]+]]:[[L32:[0-9]+]] = vshuff(v[[H31]],v[[L31]],[[R32]]) +; CHECK: v[[H33:[0-9]+]]:[[L33:[0-9]+]] = vshuff(v[[H32]],v[[L32]],[[R33]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0003(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -67,9 +67,9 @@ define <256 x i8> @test_0003(<256 x i8> %v0) #0 { ; CHECK-DAG: [[R40:r[0-9]+]] = #38 ; CHECK-DAG: [[R41:r[0-9]+]] = #72 ; CHECK-DAG: [[R42:r[0-9]+]] = #18 -; CHECK: v[[H4:[0-9]+]]:[[L4:[0-9]+]] = vshuff(v1,v0,[[R40]]) -; CHECK: v[[H4]]:[[L4]] = vshuff(v[[H4]],v[[L4]],[[R41]]) -; CHECK: v[[H4]]:[[L4]] = vshuff(v[[H4]],v[[L4]],[[R42]]) +; CHECK: v[[H40:[0-9]+]]:[[L40:[0-9]+]] = vshuff(v1,v0,[[R40]]) +; CHECK: v[[H41:[0-9]+]]:[[L41:[0-9]+]] = vshuff(v[[H40]],v[[L40]],[[R41]]) +; CHECK: v[[H42:[0-9]+]]:[[L42:[0-9]+]] = vshuff(v[[H41]],v[[L41]],[[R42]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0004(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -82,10 +82,10 @@ define <256 x i8> @test_0004(<256 x i8> %v0) #0 { ; CHECK-DAG: [[R51:r[0-9]+]] = #3 ; CHECK-DAG: [[R52:r[0-9]+]] = #48 ; CHECK-DAG: [[R53:r[0-9]+]] = #68 -; CHECK: v[[H5:[0-9]+]]:[[L5:[0-9]+]] = vshuff(v1,v0,[[R50]]) -; CHECK: v[[H5]]:[[L5]] = vdeal(v[[H5]],v[[L5]],[[R51]]) -; CHECK: v[[H5]]:[[L5]] = vdeal(v[[H5]],v[[L5]],[[R52]]) -; CHECK: v[[H5]]:[[L5]] = vdeal(v[[H5]],v[[L5]],[[R53]]) +; CHECK: v[[H50:[0-9]+]]:[[L50:[0-9]+]] = vshuff(v1,v0,[[R50]]) +; CHECK: v[[H51:[0-9]+]]:[[L51:[0-9]+]] = vdeal(v[[H50]],v[[L50]],[[R51]]) +; CHECK: v[[H52:[0-9]+]]:[[L52:[0-9]+]] = vdeal(v[[H51]],v[[L51]],[[R52]]) +; CHECK: v[[H53:[0-9]+]]:[[L53:[0-9]+]] = vdeal(v[[H52]],v[[L52]],[[R53]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0005(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -96,8 +96,8 @@ define <256 x i8> @test_0005(<256 x i8> %v0) #0 { ; CHECK-LABEL: test_0006: ; CHECK-DAG: [[R60:r[0-9]+]] = #85 ; CHECK-DAG: [[R61:r[0-9]+]] = #2 -; CHECK: v[[H6:[0-9]+]]:[[L6:[0-9]+]] = vdeal(v1,v0,[[R60]]) -; CHECK: v[[H6]]:[[L6]] = vshuff(v[[H6]],v[[L6]],[[R61]]) +; CHECK: v[[H60:[0-9]+]]:[[L60:[0-9]+]] = vdeal(v1,v0,[[R60]]) +; CHECK: v[[H61:[0-9]+]]:[[L61:[0-9]+]] = vshuff(v[[H60]],v[[L60]],[[R61]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0006(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -109,9 +109,9 @@ define <256 x i8> @test_0006(<256 x i8> %v0) #0 { ; CHECK-DAG: [[R70:r[0-9]+]] = #74 ; CHECK-DAG: [[R71:r[0-9]+]] = #20 ; CHECK-DAG: [[R72:r[0-9]+]] = #34 -; CHECK: v[[H7:[0-9]+]]:[[L7:[0-9]+]] = vshuff(v1,v0,[[R70]]) -; CHECK: v[[H7]]:[[L7]] = vdeal(v[[H7]],v[[L7]],[[R71]]) -; CHECK: v[[H7]]:[[L7]] = vdeal(v[[H7]],v[[L7]],[[R72]]) +; CHECK: v[[H70:[0-9]+]]:[[L70:[0-9]+]] = vshuff(v1,v0,[[R70]]) +; CHECK: v[[H71:[0-9]+]]:[[L71:[0-9]+]] = vdeal(v[[H70]],v[[L70]],[[R71]]) +; CHECK: v[[H72:[0-9]+]]:[[L72:[0-9]+]] = vdeal(v[[H71]],v[[L71]],[[R72]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0007(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -124,10 +124,10 @@ define <256 x i8> @test_0007(<256 x i8> %v0) #0 { ; CHECK-DAG: [[R81:r[0-9]+]] = #5 ; CHECK-DAG: [[R82:r[0-9]+]] = #48 ; CHECK-DAG: [[R83:r[0-9]+]] = #2 -; CHECK: v[[H8:[0-9]+]]:[[L8:[0-9]+]] = vshuff(v1,v0,[[R80]]) -; CHECK: v[[H8]]:[[L8]] = vdeal(v[[H8]],v[[L8]],[[R81]]) -; CHECK: v[[H8]]:[[L8]] = vshuff(v[[H8]],v[[L8]],[[R82]]) -; CHECK: v[[H8]]:[[L8]] = vshuff(v[[H8]],v[[L8]],[[R83]]) +; CHECK: v[[H80:[0-9]+]]:[[L80:[0-9]+]] = vshuff(v1,v0,[[R80]]) +; CHECK: v[[H81:[0-9]+]]:[[L81:[0-9]+]] = vdeal(v[[H80]],v[[L80]],[[R81]]) +; CHECK: v[[H82:[0-9]+]]:[[L82:[0-9]+]] = vshuff(v[[H81]],v[[L81]],[[R82]]) +; CHECK: v[[H83:[0-9]+]]:[[L83:[0-9]+]] = vshuff(v[[H82]],v[[L82]],[[R83]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0008(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -139,9 +139,9 @@ define <256 x i8> @test_0008(<256 x i8> %v0) #0 { ; CHECK-DAG: [[R90:r[0-9]+]] = #96 ; CHECK-DAG: [[R91:r[0-9]+]] = #18 ; CHECK-DAG: [[R92:r[0-9]+]] = #5 -; CHECK: v[[H9:[0-9]+]]:[[L9:[0-9]+]] = vshuff(v1,v0,[[R90]]) -; CHECK: v[[H9]]:[[L9]] = vdeal(v[[H9]],v[[L9]],[[R91]]) -; CHECK: v[[H9]]:[[L9]] = vdeal(v[[H9]],v[[L9]],[[R92]]) +; CHECK: v[[H90:[0-9]+]]:[[L90:[0-9]+]] = vshuff(v1,v0,[[R90]]) +; CHECK: v[[H91:[0-9]+]]:[[L91:[0-9]+]] = vdeal(v[[H90]],v[[L90]],[[R91]]) +; CHECK: v[[H92:[0-9]+]]:[[L92:[0-9]+]] = vdeal(v[[H91]],v[[L91]],[[R92]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_0009(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -153,9 +153,9 @@ define <256 x i8> @test_0009(<256 x i8> %v0) #0 { ; CHECK-DAG: [[Ra0:r[0-9]+]] = #44 ; CHECK-DAG: [[Ra1:r[0-9]+]] = #6 ; CHECK-DAG: [[Ra2:r[0-9]+]] = #80 -; CHECK: v[[Ha:[0-9]+]]:[[La:[0-9]+]] = vshuff(v1,v0,[[Ra0]]) -; CHECK: v[[Ha]]:[[La]] = vdeal(v[[Ha]],v[[La]],[[Ra1]]) -; CHECK: v[[Ha]]:[[La]] = vshuff(v[[Ha]],v[[La]],[[Ra2]]) +; CHECK: v[[Ha0:[0-9]+]]:[[La0:[0-9]+]] = vshuff(v1,v0,[[Ra0]]) +; CHECK: v[[Ha1:[0-9]+]]:[[La1:[0-9]+]] = vdeal(v[[Ha0]],v[[La0]],[[Ra1]]) +; CHECK: v[[Ha2:[0-9]+]]:[[La2:[0-9]+]] = vshuff(v[[Ha1]],v[[La1]],[[Ra2]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_000a(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -168,10 +168,10 @@ define <256 x i8> @test_000a(<256 x i8> %v0) #0 { ; CHECK-DAG: [[Rb1:r[0-9]+]] = #5 ; CHECK-DAG: [[Rb2:r[0-9]+]] = #18 ; CHECK-DAG: [[Rb3:r[0-9]+]] = #40 -; CHECK: v[[Hb:[0-9]+]]:[[Lb:[0-9]+]] = vshuff(v1,v0,[[Rb0]]) -; CHECK: v[[Hb]]:[[Lb]] = vdeal(v[[Hb]],v[[Lb]],[[Rb1]]) -; CHECK: v[[Hb]]:[[Lb]] = vdeal(v[[Hb]],v[[Lb]],[[Rb2]]) -; CHECK: v[[Hb]]:[[Lb]] = vdeal(v[[Hb]],v[[Lb]],[[Rb3]]) +; CHECK: v[[Hb0:[0-9]+]]:[[Lb0:[0-9]+]] = vshuff(v1,v0,[[Rb0]]) +; CHECK: v[[Hb1:[0-9]+]]:[[Lb1:[0-9]+]] = vdeal(v[[Hb0]],v[[Lb0]],[[Rb1]]) +; CHECK: v[[Hb2:[0-9]+]]:[[Lb2:[0-9]+]] = vdeal(v[[Hb1]],v[[Lb1]],[[Rb2]]) +; CHECK: v[[Hb3:[0-9]+]]:[[Lb3:[0-9]+]] = vdeal(v[[Hb2]],v[[Lb2]],[[Rb3]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_000b(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -183,9 +183,9 @@ define <256 x i8> @test_000b(<256 x i8> %v0) #0 { ; CHECK-DAG: [[Rc0:r[0-9]+]] = #10 ; CHECK-DAG: [[Rc1:r[0-9]+]] = #3 ; CHECK-DAG: [[Rc2:r[0-9]+]] = #84 -; CHECK: v[[Hc:[0-9]+]]:[[Lc:[0-9]+]] = vshuff(v1,v0,[[Rc0]]) -; CHECK: v[[Hc]]:[[Lc]] = vdeal(v[[Hc]],v[[Lc]],[[Rc1]]) -; CHECK: v[[Hc]]:[[Lc]] = vshuff(v[[Hc]],v[[Lc]],[[Rc2]]) +; CHECK: v[[Hc0:[0-9]+]]:[[Lc0:[0-9]+]] = vshuff(v1,v0,[[Rc0]]) +; CHECK: v[[Hc1:[0-9]+]]:[[Lc1:[0-9]+]] = vdeal(v[[Hc0]],v[[Lc0]],[[Rc1]]) +; CHECK: v[[Hc2:[0-9]+]]:[[Lc2:[0-9]+]] = vshuff(v[[Hc1]],v[[Lc1]],[[Rc2]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_000c(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -197,9 +197,9 @@ define <256 x i8> @test_000c(<256 x i8> %v0) #0 { ; CHECK-DAG: [[Rd0:r[0-9]+]] = #36 ; CHECK-DAG: [[Rd1:r[0-9]+]] = #80 ; CHECK-DAG: [[Rd2:r[0-9]+]] = #9 -; CHECK: v[[Hd:[0-9]+]]:[[Ld:[0-9]+]] = vshuff(v1,v0,[[Rd0]]) -; CHECK: v[[Hd]]:[[Ld]] = vshuff(v[[Hd]],v[[Ld]],[[Rd1]]) -; CHECK: v[[Hd]]:[[Ld]] = vdeal(v[[Hd]],v[[Ld]],[[Rd2]]) +; CHECK: v[[Hd0:[0-9]+]]:[[Ld0:[0-9]+]] = vshuff(v1,v0,[[Rd0]]) +; CHECK: v[[Hd1:[0-9]+]]:[[Ld1:[0-9]+]] = vshuff(v[[Hd0]],v[[Ld0]],[[Rd1]]) +; CHECK: v[[Hd2:[0-9]+]]:[[Ld2:[0-9]+]] = vdeal(v[[Hd1]],v[[Ld1]],[[Rd2]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_000d(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -211,9 +211,9 @@ define <256 x i8> @test_000d(<256 x i8> %v0) #0 { ; CHECK-DAG: [[Re0:r[0-9]+]] = #65 ; CHECK-DAG: [[Re1:r[0-9]+]] = #24 ; CHECK-DAG: [[Re2:r[0-9]+]] = #36 -; CHECK: v[[He:[0-9]+]]:[[Le:[0-9]+]] = vshuff(v1,v0,[[Re0]]) -; CHECK: v[[He]]:[[Le]] = vdeal(v[[He]],v[[Le]],[[Re1]]) -; CHECK: v[[He]]:[[Le]] = vdeal(v[[He]],v[[Le]],[[Re2]]) +; CHECK: v[[He0:[0-9]+]]:[[Le0:[0-9]+]] = vshuff(v1,v0,[[Re0]]) +; CHECK: v[[He1:[0-9]+]]:[[Le1:[0-9]+]] = vdeal(v[[He0]],v[[Le0]],[[Re1]]) +; CHECK: v[[He2:[0-9]+]]:[[Le2:[0-9]+]] = vdeal(v[[He1]],v[[Le1]],[[Re2]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_000e(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> @@ -225,9 +225,9 @@ define <256 x i8> @test_000e(<256 x i8> %v0) #0 { ; CHECK-DAG: [[Rf0:r[0-9]+]] = #6 ; CHECK-DAG: [[Rf1:r[0-9]+]] = #58 ; CHECK-DAG: [[Rf2:r[0-9]+]] = #9 -; CHECK: v[[Hf:[0-9]+]]:[[Lf:[0-9]+]] = vshuff(v1,v0,[[Rf0]]) -; CHECK: v[[Hf]]:[[Lf]] = vshuff(v[[Hf]],v[[Lf]],[[Rf1]]) -; CHECK: v[[Hf]]:[[Lf]] = vdeal(v[[Hf]],v[[Lf]],[[Rf2]]) +; CHECK: v[[Hf0:[0-9]+]]:[[Lf0:[0-9]+]] = vshuff(v1,v0,[[Rf0]]) +; CHECK: v[[Hf1:[0-9]+]]:[[Lf1:[0-9]+]] = vshuff(v[[Hf0]],v[[Lf0]],[[Rf1]]) +; CHECK: v[[Hf2:[0-9]+]]:[[Lf2:[0-9]+]] = vdeal(v[[Hf1]],v[[Lf1]],[[Rf2]]) ; CHECK-NOT: v{{[0-9:]+}} = define <256 x i8> @test_000f(<256 x i8> %v0) #0 { %p = shufflevector <256 x i8> %v0, <256 x i8> undef, <256 x i32> diff --git a/test/CodeGen/Hexagon/autohvx/shuff-combos-64b.ll b/test/CodeGen/Hexagon/autohvx/shuff-combos-64b.ll index 47321e1e535bc..8114f3c47f749 100644 --- a/test/CodeGen/Hexagon/autohvx/shuff-combos-64b.ll +++ b/test/CodeGen/Hexagon/autohvx/shuff-combos-64b.ll @@ -4,8 +4,8 @@ ; CHECK-LABEL: test_0000: ; CHECK-DAG: [[R00:r[0-9]+]] = #49 ; CHECK-DAG: [[R01:r[0-9]+]] = #3 -; CHECK: v[[H0:[0-9]+]]:[[L0:[0-9]+]] = vshuff(v1,v0,[[R00]]) -; CHECK: v[[H0]]:[[L0]] = vdeal(v[[H0]],v[[L0]],[[R01]]) +; CHECK: v[[H00:[0-9]+]]:[[L00:[0-9]+]] = vshuff(v1,v0,[[R00]]) +; CHECK: v[[H01:[0-9]+]]:[[L01:[0-9]+]] = vdeal(v[[H00]],v[[L00]],[[R01]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0000(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -17,9 +17,9 @@ define <128 x i8> @test_0000(<128 x i8> %v0) #0 { ; CHECK-DAG: [[R10:r[0-9]+]] = #10 ; CHECK-DAG: [[R11:r[0-9]+]] = #34 ; CHECK-DAG: [[R12:r[0-9]+]] = #16 -; CHECK: v[[H1:[0-9]+]]:[[L1:[0-9]+]] = vshuff(v1,v0,[[R10]]) -; CHECK: v[[H1]]:[[L1]] = vshuff(v[[H1]],v[[L1]],[[R11]]) -; CHECK: v[[H1]]:[[L1]] = vshuff(v[[H1]],v[[L1]],[[R12]]) +; CHECK: v[[H10:[0-9]+]]:[[L10:[0-9]+]] = vshuff(v1,v0,[[R10]]) +; CHECK: v[[H11:[0-9]+]]:[[L11:[0-9]+]] = vshuff(v[[H10]],v[[L10]],[[R11]]) +; CHECK: v[[H12:[0-9]+]]:[[L12:[0-9]+]] = vshuff(v[[H11]],v[[L11]],[[R12]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0001(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -30,8 +30,8 @@ define <128 x i8> @test_0001(<128 x i8> %v0) #0 { ; CHECK-LABEL: test_0002: ; CHECK-DAG: [[R20:r[0-9]+]] = #5 ; CHECK-DAG: [[R21:r[0-9]+]] = #18 -; CHECK: v[[H2:[0-9]+]]:[[L2:[0-9]+]] = vdeal(v1,v0,[[R20]]) -; CHECK: v[[H2]]:[[L2]] = vshuff(v[[H2]],v[[L2]],[[R21]]) +; CHECK: v[[H20:[0-9]+]]:[[L20:[0-9]+]] = vdeal(v1,v0,[[R20]]) +; CHECK: v[[H21:[0-9]+]]:[[L21:[0-9]+]] = vshuff(v[[H20]],v[[L20]],[[R21]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0002(<128 x i8> %v0) #0 { ; CHECK-NOT: v{{[0-9:]+}} = @@ -44,9 +44,9 @@ define <128 x i8> @test_0002(<128 x i8> %v0) #0 { ; CHECK-DAG: [[R30:r[0-9]+]] = #34 ; CHECK-DAG: [[R31:r[0-9]+]] = #10 ; CHECK-DAG: [[R32:r[0-9]+]] = #5 -; CHECK: v[[H3:[0-9]+]]:[[L3:[0-9]+]] = vshuff(v1,v0,[[R30]]) -; CHECK: v[[H3]]:[[L3]] = vdeal(v[[H3]],v[[L3]],[[R31]]) -; CHECK: v[[H3]]:[[L3]] = vdeal(v[[H3]],v[[L3]],[[R32]]) +; CHECK: v[[H30:[0-9]+]]:[[L30:[0-9]+]] = vshuff(v1,v0,[[R30]]) +; CHECK: v[[H31:[0-9]+]]:[[L31:[0-9]+]] = vdeal(v[[H30]],v[[L30]],[[R31]]) +; CHECK: v[[H32:[0-9]+]]:[[L32:[0-9]+]] = vdeal(v[[H31]],v[[L31]],[[R32]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0003(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -58,9 +58,9 @@ define <128 x i8> @test_0003(<128 x i8> %v0) #0 { ; CHECK-DAG: [[R40:r[0-9]+]] = #57 ; CHECK-DAG: [[R41:r[0-9]+]] = #6 ; CHECK-DAG: [[R42:r[0-9]+]] = #1 -; CHECK: v[[H4:[0-9]+]]:[[L4:[0-9]+]] = vshuff(v1,v0,[[R40]]) -; CHECK: v[[H4]]:[[L4]] = vshuff(v[[H4]],v[[L4]],[[R41]]) -; CHECK: v[[H4]]:[[L4]] = vshuff(v[[H4]],v[[L4]],[[R42]]) +; CHECK: v[[H40:[0-9]+]]:[[L40:[0-9]+]] = vshuff(v1,v0,[[R40]]) +; CHECK: v[[H41:[0-9]+]]:[[L41:[0-9]+]] = vshuff(v[[H40]],v[[L40]],[[R41]]) +; CHECK: v[[H42:[0-9]+]]:[[L42:[0-9]+]] = vshuff(v[[H41]],v[[L41]],[[R42]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0004(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -72,9 +72,9 @@ define <128 x i8> @test_0004(<128 x i8> %v0) #0 { ; CHECK-DAG: [[R50:r[0-9]+]] = #33 ; CHECK-DAG: [[R51:r[0-9]+]] = #12 ; CHECK-DAG: [[R52:r[0-9]+]] = #1{{$}} -; CHECK: v[[H5:[0-9]+]]:[[L5:[0-9]+]] = vshuff(v1,v0,[[R50]]) -; CHECK: v[[H5]]:[[L5]] = vshuff(v[[H5]],v[[L5]],[[R51]]) -; CHECK: v[[H5]]:[[L5]] = vshuff(v[[H5]],v[[L5]],[[R52]]) +; CHECK: v[[H50:[0-9]+]]:[[L50:[0-9]+]] = vshuff(v1,v0,[[R50]]) +; CHECK: v[[H51:[0-9]+]]:[[L51:[0-9]+]] = vshuff(v[[H50]],v[[L50]],[[R51]]) +; CHECK: v[[H52:[0-9]+]]:[[L52:[0-9]+]] = vshuff(v[[H51]],v[[L51]],[[R52]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0005(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -85,8 +85,8 @@ define <128 x i8> @test_0005(<128 x i8> %v0) #0 { ; CHECK-LABEL: test_0006: ; CHECK-DAG: [[R60:r[0-9]+]] = #3{{$}} ; CHECK-DAG: [[R61:r[0-9]+]] = #36 -; CHECK: v[[H6:[0-9]+]]:[[L6:[0-9]+]] = vdeal(v1,v0,[[R60]]) -; CHECK: v[[H6]]:[[L6]] = vshuff(v[[H6]],v[[L6]],[[R61]]) +; CHECK: v[[H60:[0-9]+]]:[[L60:[0-9]+]] = vdeal(v1,v0,[[R60]]) +; CHECK: v[[H61:[0-9]+]]:[[L61:[0-9]+]] = vshuff(v[[H60]],v[[L60]],[[R61]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0006(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -98,9 +98,9 @@ define <128 x i8> @test_0006(<128 x i8> %v0) #0 { ; CHECK-DAG: [[R70:r[0-9]+]] = #50 ; CHECK-DAG: [[R71:r[0-9]+]] = #5{{$}} ; CHECK-DAG: [[R72:r[0-9]+]] = #8 -; CHECK: v[[H7:[0-9]+]]:[[L7:[0-9]+]] = vshuff(v1,v0,[[R70]]) -; CHECK: v[[H7]]:[[L7]] = vdeal(v[[H7]],v[[L7]],[[R71]]) -; CHECK: v[[H7]]:[[L7]] = vshuff(v[[H7]],v[[L7]],[[R72]]) +; CHECK: v[[H70:[0-9]+]]:[[L70:[0-9]+]] = vshuff(v1,v0,[[R70]]) +; CHECK: v[[H71:[0-9]+]]:[[L71:[0-9]+]] = vdeal(v[[H70]],v[[L70]],[[R71]]) +; CHECK: v[[H72:[0-9]+]]:[[L72:[0-9]+]] = vshuff(v[[H71]],v[[L71]],[[R72]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0007(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -112,9 +112,9 @@ define <128 x i8> @test_0007(<128 x i8> %v0) #0 { ; CHECK-DAG: [[R80:r[0-9]+]] = #5 ; CHECK-DAG: [[R81:r[0-9]+]] = #18 ; CHECK-DAG: [[R82:r[0-9]+]] = #9 -; CHECK: v[[H8:[0-9]+]]:[[L8:[0-9]+]] = vshuff(v1,v0,[[R80]]) -; CHECK: v[[H8]]:[[L8]] = vshuff(v[[H8]],v[[L8]],[[R81]]) -; CHECK: v[[H8]]:[[L8]] = vshuff(v[[H8]],v[[L8]],[[R82]]) +; CHECK: v[[H80:[0-9]+]]:[[L80:[0-9]+]] = vshuff(v1,v0,[[R80]]) +; CHECK: v[[H81:[0-9]+]]:[[L81:[0-9]+]] = vshuff(v[[H80]],v[[L80]],[[R81]]) +; CHECK: v[[H82:[0-9]+]]:[[L82:[0-9]+]] = vshuff(v[[H81]],v[[L81]],[[R82]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0008(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -126,9 +126,9 @@ define <128 x i8> @test_0008(<128 x i8> %v0) #0 { ; CHECK-DAG: [[R90:r[0-9]+]] = #17 ; CHECK-DAG: [[R91:r[0-9]+]] = #40 ; CHECK-DAG: [[R92:r[0-9]+]] = #6 -; CHECK: v[[H9:[0-9]+]]:[[L9:[0-9]+]] = vdeal(v1,v0,[[R90]]) -; CHECK: v[[H9]]:[[L9]] = vshuff(v[[H9]],v[[L9]],[[R91]]) -; CHECK: v[[H9]]:[[L9]] = vdeal(v[[H9]],v[[L9]],[[R92]]) +; CHECK: v[[H90:[0-9]+]]:[[L90:[0-9]+]] = vdeal(v1,v0,[[R90]]) +; CHECK: v[[H91:[0-9]+]]:[[L91:[0-9]+]] = vshuff(v[[H90]],v[[L90]],[[R91]]) +; CHECK: v[[H92:[0-9]+]]:[[L92:[0-9]+]] = vdeal(v[[H91]],v[[L91]],[[R92]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_0009(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -140,9 +140,9 @@ define <128 x i8> @test_0009(<128 x i8> %v0) #0 { ; CHECK-DAG: [[Ra0:r[0-9]+]] = #56 ; CHECK-DAG: [[Ra1:r[0-9]+]] = #13 ; CHECK-DAG: [[Ra2:r[0-9]+]] = #2 -; CHECK: v[[Ha:[0-9]+]]:[[La:[0-9]+]] = vshuff(v1,v0,[[Ra0]]) -; CHECK: v[[Ha]]:[[La]] = vdeal(v[[Ha]],v[[La]],[[Ra1]]) -; CHECK: v[[Ha]]:[[La]] = vshuff(v[[Ha]],v[[La]],[[Ra2]]) +; CHECK: v[[Ha0:[0-9]+]]:[[La0:[0-9]+]] = vshuff(v1,v0,[[Ra0]]) +; CHECK: v[[Ha1:[0-9]+]]:[[La1:[0-9]+]] = vdeal(v[[Ha0]],v[[La0]],[[Ra1]]) +; CHECK: v[[Ha2:[0-9]+]]:[[La2:[0-9]+]] = vshuff(v[[Ha1]],v[[La1]],[[Ra2]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_000a(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -154,9 +154,9 @@ define <128 x i8> @test_000a(<128 x i8> %v0) #0 { ; CHECK-DAG: [[Rb0:r[0-9]+]] = #12 ; CHECK-DAG: [[Rb1:r[0-9]+]] = #33 ; CHECK-DAG: [[Rb2:r[0-9]+]] = #18 -; CHECK: v[[Hb:[0-9]+]]:[[Lb:[0-9]+]] = vdeal(v1,v0,[[Rb0]]) -; CHECK: v[[Hb]]:[[Lb]] = vdeal(v[[Hb]],v[[Lb]],[[Rb1]]) -; CHECK: v[[Hb]]:[[Lb]] = vshuff(v[[Hb]],v[[Lb]],[[Rb2]]) +; CHECK: v[[Hb0:[0-9]+]]:[[Lb0:[0-9]+]] = vdeal(v1,v0,[[Rb0]]) +; CHECK: v[[Hb1:[0-9]+]]:[[Lb1:[0-9]+]] = vdeal(v[[Hb0]],v[[Lb0]],[[Rb1]]) +; CHECK: v[[Hb2:[0-9]+]]:[[Lb2:[0-9]+]] = vshuff(v[[Hb1]],v[[Lb1]],[[Rb2]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_000b(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -169,10 +169,10 @@ define <128 x i8> @test_000b(<128 x i8> %v0) #0 { ; CHECK-DAG: [[Rc1:r[0-9]+]] = #6 ; CHECK-DAG: [[Rc2:r[0-9]+]] = #17 ; CHECK-DAG: [[Rc3:r[0-9]+]] = #32 -; CHECK: v[[Hc:[0-9]+]]:[[Lc:[0-9]+]] = vshuff(v1,v0,[[Rc0]]) -; CHECK: v[[Hc]]:[[Lc]] = vdeal(v[[Hc]],v[[Lc]],[[Rc1]]) -; CHECK: v[[Hc]]:[[Lc]] = vdeal(v[[Hc]],v[[Lc]],[[Rc2]]) -; CHECK: v[[Hc]]:[[Lc]] = vshuff(v[[Hc]],v[[Lc]],[[Rc3]]) +; CHECK: v[[Hc0:[0-9]+]]:[[Lc0:[0-9]+]] = vshuff(v1,v0,[[Rc0]]) +; CHECK: v[[Hc1:[0-9]+]]:[[Lc1:[0-9]+]] = vdeal(v[[Hc0]],v[[Lc0]],[[Rc1]]) +; CHECK: v[[Hc2:[0-9]+]]:[[Lc2:[0-9]+]] = vdeal(v[[Hc1]],v[[Lc1]],[[Rc2]]) +; CHECK: v[[Hc3:[0-9]+]]:[[Lc3:[0-9]+]] = vshuff(v[[Hc2]],v[[Lc2]],[[Rc3]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_000c(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -183,8 +183,8 @@ define <128 x i8> @test_000c(<128 x i8> %v0) #0 { ; CHECK-LABEL: test_000d: ; CHECK-DAG: [[Rd0:r[0-9]+]] = #40 ; CHECK-DAG: [[Rd1:r[0-9]+]] = #28 -; CHECK: v[[Hd:[0-9]+]]:[[Ld:[0-9]+]] = vshuff(v1,v0,[[Rd0]]) -; CHECK: v[[Hd]]:[[Ld]] = vdeal(v[[Hd]],v[[Ld]],[[Rd1]]) +; CHECK: v[[Hd0:[0-9]+]]:[[Ld0:[0-9]+]] = vshuff(v1,v0,[[Rd0]]) +; CHECK: v[[Hd1:[0-9]+]]:[[Ld1:[0-9]+]] = vdeal(v[[Hd0]],v[[Ld0]],[[Rd1]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_000d(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -194,7 +194,7 @@ define <128 x i8> @test_000d(<128 x i8> %v0) #0 { ; Generator: vshuff(0x18), vdeal(0x36), vdeal(0x33), vdeal(0x26), vshuff(0x04), vshuff(0x2d), vshuff(0x35), vdeal(0x34), vdeal(0x2e), vdeal(0x25), vdeal(0x28), vshuff(0x0c), vdeal(0x07), vshuff(0x35), vshuff(0x01) ; CHECK-LABEL: test_000e: ; CHECK-DAG: [[Re0:r[0-9]+]] = #58 -; CHECK: v[[He:[0-9]+]]:[[Le:[0-9]+]] = vshuff(v1,v0,[[Re0]]) +; CHECK: v[[He0:[0-9]+]]:[[Le0:[0-9]+]] = vshuff(v1,v0,[[Re0]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_000e(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32> @@ -205,8 +205,8 @@ define <128 x i8> @test_000e(<128 x i8> %v0) #0 { ; CHECK-LABEL: test_000f: ; CHECK-DAG: [[Rf0:r[0-9]+]] = #44 ; CHECK-DAG: [[Rf1:r[0-9]+]] = #18 -; CHECK: v[[Hf:[0-9]+]]:[[Lf:[0-9]+]] = vshuff(v1,v0,[[Rf0]]) -; CHECK: v[[Hf]]:[[Lf]] = vshuff(v[[Hf]],v[[Lf]],[[Rf1]]) +; CHECK: v[[Hf0:[0-9]+]]:[[Lf0:[0-9]+]] = vshuff(v1,v0,[[Rf0]]) +; CHECK: v[[Hf1:[0-9]+]]:[[Lf1:[0-9]+]] = vshuff(v[[Hf0]],v[[Lf0]],[[Rf1]]) ; CHECK-NOT: v{{[0-9:]+}} = define <128 x i8> @test_000f(<128 x i8> %v0) #0 { %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32>