summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-06-07 19:59:34 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-06-07 19:59:34 +0000
commit1983a4cbf112c4f97fb332a4068aa42a9284cad1 (patch)
treead19e30a0af4787465e427a8c10ff502787d8f9c /lib
parent1de1410bd23846fd83c0f6b71ac58335246cd7b0 (diff)
downloadllvm-1983a4cbf112c4f97fb332a4068aa42a9284cad1.tar.gz
llvm-1983a4cbf112c4f97fb332a4068aa42a9284cad1.tar.bz2
llvm-1983a4cbf112c4f97fb332a4068aa42a9284cad1.tar.xz
R600: Don't compare iterators of different maps.
Found be libstdc's debug mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/R600/AMDGPUIndirectAddressing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/AMDGPUIndirectAddressing.cpp b/lib/Target/R600/AMDGPUIndirectAddressing.cpp
index ed6c8ec55d..14b9e4fe0e 100644
--- a/lib/Target/R600/AMDGPUIndirectAddressing.cpp
+++ b/lib/Target/R600/AMDGPUIndirectAddressing.cpp
@@ -224,7 +224,7 @@ bool AMDGPUIndirectAddressingPass::runOnMachineFunction(MachineFunction &MF) {
unsigned LiveAddress = RegisterAddressMap[Reg];
// Chain the live-ins
if (LiveAddressRegisterMap.find(LiveAddress) !=
- RegisterAddressMap.end()) {
+ LiveAddressRegisterMap.end()) {
MI.addOperand(MachineOperand::CreateReg(
LiveAddressRegisterMap[LiveAddress],
false, // isDef