R600/SI: Fix implementation of isInlineConstant() used by the verifier
authorTom Stellard <thomas.stellard@amd.com>
Mon, 17 Mar 2014 17:03:52 +0000 (17:03 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 17 Mar 2014 17:03:52 +0000 (17:03 +0000)
commitad52f4f70c90b72efbcf270152397e6b2df47170
treee69ff09a1d0c6136fe266838b5e819be62086207
parenteb7876083dcfb3a69264d14c130177ecf4fc4930
R600/SI: Fix implementation of isInlineConstant() used by the verifier

The type of the immediates should not matter as long as the encoding is
equivalent to the encoding of one of the legal inline constants.

Tested-by: Michel Dänzer <michel.daenzer@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204056 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
test/CodeGen/R600/v_cndmask.ll [new file with mode: 0644]