R600/SI: isLegalOperand() shouldn't check constant bus for SALU instructions
authorTom Stellard <thomas.stellard@amd.com>
Fri, 19 Dec 2014 22:15:37 +0000 (22:15 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 19 Dec 2014 22:15:37 +0000 (22:15 +0000)
commit2516f059dbeb72ab7b869752c7dcd453a97fa2d4
tree9a7273eccafd594b4e421517a6678f1c9f91b77b
parent87bd2fa24b725cf52fbf5fbe0696ef219839c4ee
R600/SI: isLegalOperand() shouldn't check constant bus for SALU instructions

The constant bus restrictions only apply to VALU instructions.  This
enables SIFoldOperands to fold immediates into SALU instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224623 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp