summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChristian Konig <christian.koenig@amd.com>2013-03-07 09:03:30 +0000
committerChristian Konig <christian.koenig@amd.com>2013-03-07 09:03:30 +0000
commita0ed65729396d894700cd09c07d1e84f37605c45 (patch)
treed921c46d47496512ce465fd9362d75908b37d0a4 /llvm/lib
parent9164513e4f004f0558aa7a606904e8f2dab01cc4 (diff)
downloadbcm5719-llvm-a0ed65729396d894700cd09c07d1e84f37605c45.tar.gz
bcm5719-llvm-a0ed65729396d894700cd09c07d1e84f37605c45.zip
R600/SI: fix unused variable warning
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176620
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp b/llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp
index 15840b32e52..ed6c8ec55dd 100644
--- a/llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp
+++ b/llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp
@@ -289,7 +289,6 @@ bool AMDGPUIndirectAddressingPass::runOnMachineFunction(MachineFunction &MF) {
// We only need to use REG_SEQUENCE for explicit defs, since the
// register coalescer won't do anything with the implicit defs.
- MachineInstr *DefInstr = MRI.getVRegDef(Reg);
if (!regHasExplicitDef(MRI, Reg)) {
continue;
}
OpenPOWER on IntegriCloud