mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Fixed assertion in Extract128BitVector()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3f912b510
commit
093043ce11
@ -101,7 +101,8 @@ static SDValue ExtractSubVector(SDValue Vec, unsigned IdxVal,
|
||||
/// lowering EXTRACT_VECTOR_ELT operations easier.
|
||||
static SDValue Extract128BitVector(SDValue Vec, unsigned IdxVal,
|
||||
SelectionDAG &DAG, SDLoc dl) {
|
||||
assert(Vec.getValueType().is256BitVector() && "Unexpected vector size!");
|
||||
assert((Vec.getValueType().is256BitVector() ||
|
||||
Vec.getValueType().is512BitVector()) && "Unexpected vector size!");
|
||||
return ExtractSubVector(Vec, IdxVal, DAG, dl, 128);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user