diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-09-23 21:26:25 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-09-23 21:26:25 +0000 |
commit | 73ae1cb59a4a3fe25c8678846816b37bfb87edfe (patch) | |
tree | 21be006366c091b8a8e1d2ac25e6372477f0c65c /clang/lib/Sema/SemaDecl.cpp | |
parent | bdf54a21b5e3392b431b6569007cb61689c76a3c (diff) | |
download | bcm5719-llvm-73ae1cb59a4a3fe25c8678846816b37bfb87edfe.tar.gz bcm5719-llvm-73ae1cb59a4a3fe25c8678846816b37bfb87edfe.zip |
R600/SI: Clean up checks for legality of immediate operands
There are new register classes VCSrc_* which represent operands that
can take an SGPR, VGPR or inline constant. The VSrc_* class is now used
to represent operands that can take an SGPR, VGPR, or a 32-bit
immediate.
This allows us to have more accurate checks for legality of
immediates, since before we had no way to distinguish between operands
that supported any 32-bit immediate and operands which could only
support inline constants.
llvm-svn: 218334
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions