AMDGPU: Add comment for VOP2b operand class
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 7 Oct 2015 01:36:00 +0000 (01:36 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 7 Oct 2015 01:36:00 +0000 (01:36 +0000)
commit3eab2d1f26506b62fae1d634376be691880081c8
tree9280297e35dda442a1d443eab5028f19989b2690
parentbb32f88e5d2c20c56502cb5a113a00e9fc8e4a7a
AMDGPU: Add comment for VOP2b operand class

Because of the constant bus requirement, it is never legal to
use a literal constant for these instructions despite the encoding
allowing it. This was already doing the right thing, but note why.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249500 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.td