[PATCH] R600/SI: Fix suspicious indexing

Matt Arsenault Matthew.Arsenault at amd.com
Mon Nov 24 19:42:09 PST 2014


The loop is over the operands of an instruction, and checks the
register with the sub reg index of the dest register. This probably
meant to be checking the sub reg index of the same operand.

http://reviews.llvm.org/D6401

Files:
  lib/Target/R600/SIFixSGPRCopies.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6401.16597.patch
Type: text/x-patch
Size: 1072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141125/a30d3c89/attachment.bin>


More information about the llvm-commits mailing list