summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-04-19 15:19:21 -0400
committerTom Stellard <[email protected]>2012-04-23 09:34:05 -0400
commitd4da0a062779c24ee84b0dbabd65800e4ed9c641 (patch)
treec4c33dd5893f0090ac890443dfc863da96caa10b
parent90a42df0d092dd43782fec83199750e194759d89 (diff)
r600g/llvm: Remove debugging hack from R600InstrInfo::copyPhysReg()
-rw-r--r--src/gallium/drivers/radeon/R600InstrInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/R600InstrInfo.cpp b/src/gallium/drivers/radeon/R600InstrInfo.cpp
index bcee89c4f91..80adf8c12fa 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));
}