mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 16:31:16 +00:00
Add an explanatory message for an assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
697970286a
commit
70f85730b1
@ -3715,7 +3715,8 @@ SDValue ARMTargetLowering::ReconstructShuffle(SDValue Op, SelectionDAG &DAG) con
|
|||||||
|
|
||||||
// Since only 64-bit and 128-bit vectors are legal on ARM and
|
// Since only 64-bit and 128-bit vectors are legal on ARM and
|
||||||
// we've eliminated the other cases...
|
// we've eliminated the other cases...
|
||||||
assert(SourceVecs[i].getValueType().getVectorNumElements() == 2*NumElts);
|
assert(SourceVecs[i].getValueType().getVectorNumElements() == 2*NumElts &&
|
||||||
|
"unexpected vector sizes in ReconstructShuffle");
|
||||||
|
|
||||||
if (MaxElts[i] - MinElts[i] >= NumElts) {
|
if (MaxElts[i] - MinElts[i] >= NumElts) {
|
||||||
// Span too large for a VEXT to cope
|
// Span too large for a VEXT to cope
|
||||||
|
Loading…
Reference in New Issue
Block a user