mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
R600/SI: fix unused variable warning
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d9686a98b8
commit
5e8833646d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user