From: Benjamin Kramer Date: Fri, 7 Jun 2013 19:59:34 +0000 (+0000) Subject: R600: Don't compare iterators of different maps. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1983a4cbf112c4f97fb332a4068aa42a9284cad1;p=oota-llvm.git 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 --- diff --git a/lib/Target/R600/AMDGPUIndirectAddressing.cpp b/lib/Target/R600/AMDGPUIndirectAddressing.cpp index ed6c8ec55dd..14b9e4fe0e3 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