[llvm] r183549 - R600: Don't compare iterators of different maps.
Benjamin Kramer
benny.kra at googlemail.com
Fri Jun 7 12:59:34 PDT 2013
Author: d0k
Date: Fri Jun 7 14:59:34 2013
New Revision: 183549
URL: http://llvm.org/viewvc/llvm-project?rev=183549&view=rev
Log:
R600: Don't compare iterators of different maps.
Found be libstdc's debug mode.
Modified:
llvm/trunk/lib/Target/R600/AMDGPUIndirectAddressing.cpp
Modified: llvm/trunk/lib/Target/R600/AMDGPUIndirectAddressing.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUIndirectAddressing.cpp?rev=183549&r1=183548&r2=183549&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUIndirectAddressing.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUIndirectAddressing.cpp Fri Jun 7 14:59:34 2013
@@ -224,7 +224,7 @@ bool AMDGPUIndirectAddressingPass::runOn
unsigned LiveAddress = RegisterAddressMap[Reg];
// Chain the live-ins
if (LiveAddressRegisterMap.find(LiveAddress) !=
- RegisterAddressMap.end()) {
+ LiveAddressRegisterMap.end()) {
MI.addOperand(MachineOperand::CreateReg(
LiveAddressRegisterMap[LiveAddress],
false, // isDef
More information about the llvm-commits
mailing list