[x86] Teach the new vector shuffle lowering code to handle what is
[oota-llvm.git] / lib / IR / InlineAsm.cpp
index 62d191dbce396513eb00c5c952c56c6a9db026f6..a3e1da3b189ae24154e6cd58f51a58a7a2415a39 100644 (file)
@@ -274,7 +274,7 @@ bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) {
     break;
   default:
     StructType *STy = dyn_cast<StructType>(Ty->getReturnType());
-    if (STy == 0 || STy->getNumElements() != NumOutputs)
+    if (!STy || STy->getNumElements() != NumOutputs)
       return false;
     break;
   }