summaryrefslogtreecommitdiff
path: root/test/tools/llvm-cov
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-12 02:35:51 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-12 02:35:51 +0000
commit86245071b52f1da99ac65157c38bfa5577a80714 (patch)
tree4bd0a466a4ba45e90f29e208c4d716cc0ab8fdaa /test/tools/llvm-cov
parentc6d4d667a8a56b341fac949153ec5939857445df (diff)
downloadllvm-86245071b52f1da99ac65157c38bfa5577a80714.tar.gz
llvm-86245071b52f1da99ac65157c38bfa5577a80714.tar.bz2
llvm-86245071b52f1da99ac65157c38bfa5577a80714.tar.xz
R600/SI: Change formatting of printed registers.
Print the range of registers used with a single letter prefix. This better matches what the shader compiler produces and is overall less obnoxious than concatenating all of the subregister names together. Instead of SGPR0, it will print s0. Instead of SGPR0_SGPR1, it will print s[0:1] and so on. There doesn't appear to be a straightforward way to get the actual register info in the InstPrinter, so this parses the generated name to print with the new syntax. The required test changes are pretty nasty, and register matching regexes are now worse. Since there isn't a way to add to a variable in FileCheck, some of the tests now don't check the exact number of registers used, but I don't think that will be a real problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/llvm-cov')
0 files changed, 0 insertions, 0 deletions