mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Fixed assertion in Extract128BitVector()
llvm-svn: 187493
This commit is contained in:
parent
32c979f9e1
commit
9ad187a21f
@ -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…
x
Reference in New Issue
Block a user