@@ -1991,11 +1991,6 @@ ValueTrackerResult ValueTracker::getNextSourceFromRegSequence() {
1991
1991
// turn that into an assertion.
1992
1992
return ValueTrackerResult ();
1993
1993
1994
- if (!TII)
1995
- // We could handle the REG_SEQUENCE here, but we do not want to
1996
- // duplicate the code from the generic TII.
1997
- return ValueTrackerResult ();
1998
-
1999
1994
SmallVector<RegSubRegPairAndIdx, 8 > RegSeqInputRegs;
2000
1995
if (!TII->getRegSequenceInputs (*Def, DefIdx, RegSeqInputRegs))
2001
1996
return ValueTrackerResult ();
@@ -2024,11 +2019,6 @@ ValueTrackerResult ValueTracker::getNextSourceFromInsertSubreg() {
2024
2019
// I.e., this may be turned into an assert.
2025
2020
return ValueTrackerResult ();
2026
2021
2027
- if (!TII)
2028
- // We could handle the REG_SEQUENCE here, but we do not want to
2029
- // duplicate the code from the generic TII.
2030
- return ValueTrackerResult ();
2031
-
2032
2022
RegSubRegPair BaseReg;
2033
2023
RegSubRegPairAndIdx InsertedReg;
2034
2024
if (!TII->getInsertSubregInputs (*Def, DefIdx, BaseReg, InsertedReg))
@@ -2078,11 +2068,6 @@ ValueTrackerResult ValueTracker::getNextSourceFromExtractSubreg() {
2078
2068
if (DefSubReg)
2079
2069
return ValueTrackerResult ();
2080
2070
2081
- if (!TII)
2082
- // We could handle the EXTRACT_SUBREG here, but we do not want to
2083
- // duplicate the code from the generic TII.
2084
- return ValueTrackerResult ();
2085
-
2086
2071
RegSubRegPairAndIdx ExtractSubregInputReg;
2087
2072
if (!TII->getExtractSubregInputs (*Def, DefIdx, ExtractSubregInputReg))
2088
2073
return ValueTrackerResult ();
0 commit comments