[PATCH] R600/SI: Clean up checks for legality of immediate operands

Tom Stellard tom at stellard.net
Thu Sep 11 15:13:51 PDT 2014


On Wed, Sep 03, 2014 at 07:11:34PM -0400, Matt Arsenault wrote:
> 
> On Sep 3, 2014, at 5:38 PM, Tom Stellard <thomas.stellard at amd.com> wrote:
> 
> > 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.

Hi Matt, 

Here is an updated patch.

-Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-SI-Clean-up-checks-for-legality-of-immediate-op.patch
Type: text/x-diff
Size: 17966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140911/07aa60cd/attachment.patch>


More information about the llvm-commits mailing list