[llvm-branch-commits] [llvm-branch] r166412 - /llvm/branches/R600/lib/Target/AMDGPU/SILowerFlowControl.cpp
Tom Stellard
thomas.stellard at amd.com
Mon Oct 22 07:55:38 PDT 2012
Author: tstellar
Date: Mon Oct 22 09:55:38 2012
New Revision: 166412
URL: http://llvm.org/viewvc/llvm-project?rev=166412&view=rev
Log:
AMDGPU: Fix build after merge
Modified:
llvm/branches/R600/lib/Target/AMDGPU/SILowerFlowControl.cpp
Modified: llvm/branches/R600/lib/Target/AMDGPU/SILowerFlowControl.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/SILowerFlowControl.cpp?rev=166412&r1=166411&r2=166412&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/SILowerFlowControl.cpp (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/SILowerFlowControl.cpp Mon Oct 22 09:55:38 2012
@@ -97,7 +97,7 @@
S = AMDGPU::SReg_64RegClass.end();
I != S; ++I) {
unsigned Reg = *I;
- if (!MF.getRegInfo().isPhysRegOrOverlapUsed(Reg)) {
+ if (!MF.getRegInfo().isPhysRegUsed(Reg)) {
UnusedRegisters.insert(UnusedRegisters.begin(), Reg);
}
}
More information about the llvm-branch-commits
mailing list