[llvm] r183549 - R600: Don't compare iterators of different maps.
Tom Stellard
tom at stellard.net
Fri Jun 7 13:27:52 PDT 2013
On Fri, Jun 07, 2013 at 07:59:34PM -0000, Benjamin Kramer wrote:
> 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.
>
Thanks!
> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list