summaryrefslogtreecommitdiffstats
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
commit705d841bb696e3823fc3d85928b0c226346f7d9e (patch)
treeea52e3518fac70d80d39898789876143d627e252
parentfdc529ad9597e9c2c8ddd9afc771a61805348d07 (diff)
downloadbcm5719-llvm-705d841bb696e3823fc3d85928b0c226346f7d9e.tar.gz
bcm5719-llvm-705d841bb696e3823fc3d85928b0c226346f7d9e.zip
R600: Don't compare iterators of different maps.
Found be libstdc's debug mode. llvm-svn: 183549
-rw-r--r--llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp b/llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp
index ed6c8ec55dd..14b9e4fe0e3 100644
--- a/llvm/lib/Target/R600/AMDGPUIndirectAddressing.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud