[llvm] r195230 - Fixed compilation error.

Elena Demikhovsky elena.demikhovsky at intel.com
Wed Nov 20 01:23:22 PST 2013


Author: delena
Date: Wed Nov 20 03:23:22 2013
New Revision: 195230

URL: http://llvm.org/viewvc/llvm-project?rev=195230&view=rev
Log:
Fixed compilation error.

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=195230&r1=195229&r2=195230&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed Nov 20 03:23:22 2013
@@ -6163,9 +6163,9 @@ static SDValue LowerAVXCONCAT_VECTORS(SD
 
 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.





More information about the llvm-commits mailing list