forked from OSchip/llvm-project
parent
42336682b2
commit
a023d6b7de
|
@ -2963,9 +2963,8 @@ bool AArch64InstructionSelector::selectUnmergeValues(
|
||||||
const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg());
|
const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg());
|
||||||
const LLT WideTy = MRI.getType(SrcReg);
|
const LLT WideTy = MRI.getType(SrcReg);
|
||||||
(void)WideTy;
|
(void)WideTy;
|
||||||
assert(WideTy.isVector() ||
|
assert((WideTy.isVector() || WideTy.getSizeInBits() == 128) &&
|
||||||
WideTy.getSizeInBits() == 128 &&
|
"can only unmerge from vector or s128 types!");
|
||||||
"can only unmerge from vector or s128 types!");
|
|
||||||
assert(WideTy.getSizeInBits() > NarrowTy.getSizeInBits() &&
|
assert(WideTy.getSizeInBits() > NarrowTy.getSizeInBits() &&
|
||||||
"source register size too small!");
|
"source register size too small!");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue