R600/SI: Add generic checks to SIInstrInfo::verifyInstruction()
authorTom Stellard <thomas.stellard@amd.com>
Mon, 17 Mar 2014 17:03:49 +0000 (17:03 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 17 Mar 2014 17:03:49 +0000 (17:03 +0000)
commit27b614fcd30c8fe80bc8f11f00d89c260a88fd74
tree089c86cc9bbb6c160dcc0bd971a8146878804e49
parentbbbc2b1140e67f0c8783d4f8dd3977a482e1211e
R600/SI: Add generic checks to SIInstrInfo::verifyInstruction()

Added checks for number of operands and operand register classes.

Tested-by: Michel Dänzer <michel.daenzer@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204054 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp