summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOverload.cpp
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
commit72b31eee0b34844841dbddbb1e499dbbdbff8d2d (patch)
treeeb473cdc45719e89662a2c533245561686f2b490 /clang/lib/Sema/SemaOverload.cpp
parentf0e6968e2fadc08ea24f35591db773e5ec0fbc73 (diff)
downloadbcm5719-llvm-72b31eee0b34844841dbddbb1e499dbbdbff8d2d.tar.gz
bcm5719-llvm-72b31eee0b34844841dbddbb1e499dbbdbff8d2d.zip
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. llvm-svn: 194443
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud