Skip to content

Commit 110a24c

Browse files
committed
update type used
1 parent b389a01 commit 110a24c

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

llvm/lib/Target/AMDGPU/SIInstructions.td

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,8 +1623,8 @@ foreach vt = Reg64DataTypes.types in {
16231623

16241624

16251625
// 96-bit bitcast
1626-
foreach vt = SGPR_96.RegTypes in {
1627-
foreach st = SGPR_96.RegTypes in {
1626+
foreach vt = Reg96Types.types in {
1627+
foreach st = Reg96Types.types in {
16281628
if !not(!eq (vt, st)) then {
16291629
def : BitConvert <vt, st, SGPR_96>;
16301630
}
@@ -1633,8 +1633,8 @@ foreach vt = SGPR_96.RegTypes in {
16331633

16341634

16351635
// 128-bit bitcast
1636-
foreach vt = VReg_128.RegTypes in {
1637-
foreach st = VReg_128.RegTypes in {
1636+
foreach vt = Reg128Types.types in {
1637+
foreach st = Reg128Types.types in {
16381638
if !not(!eq (vt, st)) then {
16391639
def : BitConvert <vt, st, VReg_128>;
16401640
def : BitConvert <vt, st, SReg_128>;
@@ -1644,8 +1644,8 @@ foreach vt = VReg_128.RegTypes in {
16441644

16451645

16461646
// 160-bit bitcast
1647-
foreach vt = VReg_160.RegTypes in {
1648-
foreach st = VReg_160.RegTypes in {
1647+
foreach vt = Reg160Types.types in {
1648+
foreach st = Reg160Types.types in {
16491649
if !not(!eq (vt, st)) then {
16501650
def : BitConvert <vt, st, VReg_160>;
16511651
def : BitConvert <vt, st, SReg_160>;
@@ -1654,8 +1654,8 @@ foreach vt = VReg_160.RegTypes in {
16541654
}
16551655

16561656
// 192-bit bitcast
1657-
foreach vt = VReg_192.RegTypes in {
1658-
foreach st = VReg_192.RegTypes in {
1657+
foreach vt = Reg192Types.types in {
1658+
foreach st = Reg192Types.types in {
16591659
if !not(!eq (vt, st)) then {
16601660
def : BitConvert <vt, st, VReg_192>;
16611661
def : BitConvert <vt, st, SReg_192>;
@@ -1664,8 +1664,8 @@ foreach vt = VReg_192.RegTypes in {
16641664
}
16651665

16661666
// 224-bit bitcast
1667-
foreach vt = VReg_224.RegTypes in {
1668-
foreach st = VReg_224.RegTypes in {
1667+
foreach vt = Reg224Types.types in {
1668+
foreach st = Reg224Types.types in {
16691669
if !not(!eq (vt, st)) then {
16701670
def : BitConvert <vt, st, VReg_224>;
16711671
def : BitConvert <vt, st, SReg_224>;
@@ -1675,8 +1675,8 @@ foreach vt = VReg_224.RegTypes in {
16751675

16761676

16771677
// 256-bit bitcast
1678-
foreach vt = VReg_256.RegTypes in {
1679-
foreach st = VReg_256.RegTypes in {
1678+
foreach vt = Reg256Types.types in {
1679+
foreach st = Reg256Types.types in {
16801680
if !not(!eq (vt, st)) then {
16811681
def : BitConvert <vt, st, VReg_256>;
16821682
def : BitConvert <vt, st, SReg_256>;
@@ -1686,8 +1686,8 @@ foreach vt = VReg_256.RegTypes in {
16861686

16871687

16881688
// 288-bit bitcast
1689-
foreach vt = VReg_288.RegTypes in {
1690-
foreach st = VReg_288.RegTypes in {
1689+
foreach vt = Reg288Types.types in {
1690+
foreach st = Reg288Types.types in {
16911691
if !not(!eq (vt, st)) then {
16921692
def : BitConvert <vt, st, VReg_288>;
16931693
def : BitConvert <vt, st, SReg_288>;
@@ -1696,8 +1696,8 @@ foreach vt = VReg_288.RegTypes in {
16961696
}
16971697

16981698
// 320-bit bitcast
1699-
foreach vt = VReg_320.RegTypes in {
1700-
foreach st = VReg_320.RegTypes in {
1699+
foreach vt = Reg320Types.types in {
1700+
foreach st = Reg320Types.types in {
17011701
if !not(!eq (vt, st)) then {
17021702
def : BitConvert <vt, st, VReg_320>;
17031703
def : BitConvert <vt, st, SReg_320>;
@@ -1706,8 +1706,8 @@ foreach vt = VReg_320.RegTypes in {
17061706
}
17071707

17081708
// 320-bit bitcast
1709-
foreach vt = VReg_352.RegTypes in {
1710-
foreach st = VReg_352.RegTypes in {
1709+
foreach vt = Reg352Types.types in {
1710+
foreach st = Reg352Types.types in {
17111711
if !not(!eq (vt, st)) then {
17121712
def : BitConvert <vt, st, VReg_352>;
17131713
def : BitConvert <vt, st, SReg_352>;
@@ -1716,8 +1716,8 @@ foreach vt = VReg_352.RegTypes in {
17161716
}
17171717

17181718
// 384-bit bitcast
1719-
foreach vt = VReg_384.RegTypes in {
1720-
foreach st = VReg_384.RegTypes in {
1719+
foreach vt = Reg384Types.types in {
1720+
foreach st = Reg384Types.types in {
17211721
if !not(!eq (vt, st)) then {
17221722
def : BitConvert <vt, st, VReg_384>;
17231723
def : BitConvert <vt, st, SReg_384>;
@@ -1726,8 +1726,8 @@ foreach vt = VReg_384.RegTypes in {
17261726
}
17271727

17281728
// 512-bit bitcast
1729-
foreach vt = VReg_512.RegTypes in {
1730-
foreach st = VReg_512.RegTypes in {
1729+
foreach vt = Reg512Types.types in {
1730+
foreach st = Reg512Types.types in {
17311731
if !not(!eq (vt, st)) then {
17321732
def : BitConvert <vt, st, VReg_512>;
17331733
def : BitConvert <vt, st, SReg_512>;
@@ -1737,8 +1737,8 @@ foreach vt = VReg_512.RegTypes in {
17371737

17381738

17391739
// 1024-bit bitcast
1740-
foreach vt = VReg_1024.RegTypes in {
1741-
foreach st = VReg_1024.RegTypes in {
1740+
foreach vt = Reg1024Types.types in {
1741+
foreach st = Reg1024Types.types in {
17421742
if !not(!eq (vt, st)) then {
17431743
def : BitConvert <vt, st, VReg_1024>;
17441744
def : BitConvert <vt, st, SReg_1024>;

0 commit comments

Comments
 (0)