r600g/llvm: Remove debugging hack from R600InstrInfo::copyPhysReg()
authorTom Stellard <thomas.stellard@amd.com>
Thu, 19 Apr 2012 19:19:21 +0000 (15:19 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 23 Apr 2012 13:34:05 +0000 (09:34 -0400)
src/gallium/drivers/radeon/R600InstrInfo.cpp

index bcee89c..80adf8c 100644 (file)
@@ -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));
 }