diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-06-07 19:59:34 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-06-07 19:59:34 +0000 |
commit | 705d841bb696e3823fc3d85928b0c226346f7d9e (patch) | |
tree | ea52e3518fac70d80d39898789876143d627e252 | |
parent | fdc529ad9597e9c2c8ddd9afc771a61805348d07 (diff) | |
download | bcm5719-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.cpp | 2 |
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 |