1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fixed compilation error.

llvm-svn: 195230
This commit is contained in:
Elena Demikhovsky 2013-11-20 09:23:22 +00:00
parent 692524f3bd
commit a11395e99e

View File

@ -6163,9 +6163,9 @@ static SDValue LowerAVXCONCAT_VECTORS(SDValue Op, SelectionDAG &DAG) {
static SDValue LowerCONCAT_VECTORS(SDValue Op, SelectionDAG &DAG) {
MVT VT = Op.getSimpleValueType();
unsigned NumOps = Op.getNumOperands();
assert((VT.is256BitVector() && NumOps == 2) ||
(VT.is512BitVector() && (NumOps == 2 || NumOps == 4)));
assert((VT.is256BitVector() && Op.getNumOperands() == 2) ||
(VT.is512BitVector() && (Op.getNumOperands() == 2 ||
Op.getNumOperands() == 4)));
// AVX can use the vinsertf128 instruction to create 256-bit vectors
// from two other 128-bit ones.