Mesa (master): r600g/llvm: Remove debugging hack from R600InstrInfo:: copyPhysReg()
Tom Stellard
tstellar at kemper.freedesktop.org
Mon Apr 23 14:33:37 UTC 2012
Module: Mesa
Branch: master
Commit: d4da0a062779c24ee84b0dbabd65800e4ed9c641
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4da0a062779c24ee84b0dbabd65800e4ed9c641
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Apr 19 15:19:21 2012 -0400
r600g/llvm: Remove debugging hack from R600InstrInfo::copyPhysReg()
---
src/gallium/drivers/radeon/R600InstrInfo.cpp | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
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));
}
More information about the mesa-commit
mailing list