llvm.org GIT mirror llvm / e359701
Merging r200775: ------------------------------------------------------------------------ r200775 | thomas.stellard | 2014-02-04 09:18:42 -0800 (Tue, 04 Feb 2014) | 5 lines R600/SI: Don't assume copies will be coalesced in SIFixSGPRCopies There is no lit test for this, because it would be too big and complicated, but it does fix a crash in the Arithm/Absdiff.* OpenCV test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@204644 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
186186 DstRC == &AMDGPU::M0RegRegClass)
187187 return false;
188188
189 SrcRC = inferRegClassFromDef(TRI, MRI, SrcReg, SrcSubReg);
189 SrcRC = TRI->getSubRegClass(MRI.getRegClass(SrcReg), SrcSubReg);
190190 return TRI->isSGPRClass(DstRC) && TRI->hasVGPRs(SrcRC);
191191 }
192192