[PATCH] R600/SI: Fix off by 1 error in used register count

Matt Arsenault Matthew.Arsenault at amd.com
Thu Sep 11 13:46:32 PDT 2014


The register numbers start at 0, so if only 1 register was used, this was reported as 0.

http://reviews.llvm.org/D5312

Files:
  lib/Target/R600/AMDGPUAsmPrinter.cpp
  test/CodeGen/R600/no_vgpr_used.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5312.13597.patch
Type: text/x-patch
Size: 982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140911/88286d4e/attachment.bin>


More information about the llvm-commits mailing list