File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -1939,27 +1939,20 @@ void MachineVerifier::visitMachineInstrBefore(const MachineInstr *MI) {
1939
1939
// and physical register.
1940
1940
TypeSize SrcSize = TRI->getRegSizeInBits (SrcReg, *MRI);
1941
1941
TypeSize DstSize = TRI->getRegSizeInBits (DstReg, *MRI);
1942
-
1943
1942
if (SrcReg.isPhysical () && DstTy.isValid ()) {
1944
1943
const TargetRegisterClass *SrcRC =
1945
1944
TRI->getMinimalPhysRegClassLLT (SrcReg, DstTy);
1946
1945
if (SrcRC)
1947
1946
SrcSize = TRI->getRegSizeInBits (*SrcRC);
1948
1947
}
1949
1948
1950
- if (SrcSize.isZero ())
1951
- SrcSize = TRI->getRegSizeInBits (SrcReg, *MRI);
1952
-
1953
1949
if (DstReg.isPhysical () && SrcTy.isValid ()) {
1954
1950
const TargetRegisterClass *DstRC =
1955
1951
TRI->getMinimalPhysRegClassLLT (DstReg, SrcTy);
1956
1952
if (DstRC)
1957
1953
DstSize = TRI->getRegSizeInBits (*DstRC);
1958
1954
}
1959
1955
1960
- if (DstSize.isZero ())
1961
- DstSize = TRI->getRegSizeInBits (DstReg, *MRI);
1962
-
1963
1956
// If the Dst is scalable and the Src is fixed, then the Dst can only hold
1964
1957
// the Src if the minimum size Dst can hold is at least as big as Src.
1965
1958
if (DstSize.isScalable () && !SrcSize.isScalable () &&
You can’t perform that action at this time.
0 commit comments