File tree 1 file changed +1
-16
lines changed 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -1956,22 +1956,7 @@ ValueTrackerResult ValueTracker::getNextSourceFromRegSequence() {
1956
1956
assert ((Def->isRegSequence () || Def->isRegSequenceLike ()) &&
1957
1957
" Invalid definition" );
1958
1958
1959
- if (Def->getOperand (DefIdx).getSubReg ())
1960
- // If we are composing subregs, bail out.
1961
- // The case we are checking is Def.<subreg> = REG_SEQUENCE.
1962
- // This should almost never happen as the SSA property is tracked at
1963
- // the register level (as opposed to the subreg level).
1964
- // I.e.,
1965
- // Def.sub0 =
1966
- // Def.sub1 =
1967
- // is a valid SSA representation for Def.sub0 and Def.sub1, but not for
1968
- // Def. Thus, it must not be generated.
1969
- // However, some code could theoretically generates a single
1970
- // Def.sub0 (i.e, not defining the other subregs) and we would
1971
- // have this case.
1972
- // If we can ascertain (or force) that this never happens, we could
1973
- // turn that into an assertion.
1974
- return ValueTrackerResult ();
1959
+ assert (!Def->getOperand (DefIdx).getSubReg () && " illegal subregister def" );
1975
1960
1976
1961
SmallVector<RegSubRegPairAndIdx, 8 > RegSeqInputRegs;
1977
1962
if (!TII->getRegSequenceInputs (*Def, DefIdx, RegSeqInputRegs))
You can’t perform that action at this time.
0 commit comments