[Target] Fix an assertion that should have been updated when the code below it was changed in r251033.

llvm-svn: 266545
This commit is contained in:
Craig Topper 2016-04-17 01:34:32 +00:00
parent 90990cd9e4
commit 28336ed3bb
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ public:
LegalizeAction
getCondCodeAction(ISD::CondCode CC, MVT VT) const {
assert((unsigned)CC < array_lengthof(CondCodeActions) &&
((unsigned)VT.SimpleTy >> 4) < array_lengthof(CondCodeActions[0]) &&
((unsigned)VT.SimpleTy >> 3) < array_lengthof(CondCodeActions[0]) &&
"Table isn't big enough!");
// See setCondCodeAction for how this is encoded.
uint32_t Shift = 4 * (VT.SimpleTy & 0x7);