diff options
Diffstat (limited to 'lib/Target/R600/R600InstrInfo.cpp')
-rw-r--r-- | lib/Target/R600/R600InstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/R600InstrInfo.cpp b/lib/Target/R600/R600InstrInfo.cpp index 4f5cfcd732..018583dd52 100644 --- a/lib/Target/R600/R600InstrInfo.cpp +++ b/lib/Target/R600/R600InstrInfo.cpp @@ -239,7 +239,7 @@ R600InstrInfo::ExtractSrcs(MachineInstr *MI, Result.push_back(DummyPair); continue; } - if (PV.find(Index) != PV.end()) { + if (PV.find(Reg) != PV.end()) { Result.push_back(DummyPair); continue; } |