forked from OSchip/llvm-project
[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:
parent
90990cd9e4
commit
28336ed3bb
|
@ -689,7 +689,7 @@ public:
|
||||||
LegalizeAction
|
LegalizeAction
|
||||||
getCondCodeAction(ISD::CondCode CC, MVT VT) const {
|
getCondCodeAction(ISD::CondCode CC, MVT VT) const {
|
||||||
assert((unsigned)CC < array_lengthof(CondCodeActions) &&
|
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!");
|
"Table isn't big enough!");
|
||||||
// See setCondCodeAction for how this is encoded.
|
// See setCondCodeAction for how this is encoded.
|
||||||
uint32_t Shift = 4 * (VT.SimpleTy & 0x7);
|
uint32_t Shift = 4 * (VT.SimpleTy & 0x7);
|
||||||
|
|
Loading…
Reference in New Issue