From: Tom Stellard Date: Thu, 19 Apr 2012 19:19:21 +0000 (-0400) Subject: r600g/llvm: Remove debugging hack from R600InstrInfo::copyPhysReg() X-Git-Tag: 062012170305~652 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4da0a062779c24ee84b0dbabd65800e4ed9c641;p=profile%2Fivi%2Fmesa.git r600g/llvm: Remove debugging hack from R600InstrInfo::copyPhysReg() --- diff --git a/src/gallium/drivers/radeon/R600InstrInfo.cpp b/src/gallium/drivers/radeon/R600InstrInfo.cpp index bcee89c..80adf8c 100644 --- a/src/gallium/drivers/radeon/R600InstrInfo.cpp +++ b/src/gallium/drivers/radeon/R600InstrInfo.cpp @@ -39,10 +39,6 @@ R600InstrInfo::copyPhysReg(MachineBasicBlock &MBB, unsigned DestReg, unsigned SrcReg, bool KillSrc) const { - if (!TargetRegisterInfo::isVirtualRegister(SrcReg) - && AMDIL::GPRI32RegClass.contains(SrcReg)) { - SrcReg = AMDIL::T0_X; - } BuildMI(MBB, MI, DL, get(AMDIL::MOV), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); }